$NetBSD: patch-CMakeLists.txt,v 1.3 2022/12/31 22:00:17 adam Exp $

Do not install includes in a sub-directory.

--- CMakeLists.txt.orig	2022-12-28 17:47:32.000000000 +0000
+++ CMakeLists.txt
@@ -14,7 +14,7 @@ option(UTF8_SAMPLES "Enable building sam
 add_library(utf8cpp INTERFACE)
 target_include_directories(utf8cpp INTERFACE
     "$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/source>"
-    $<INSTALL_INTERFACE:include/utf8cpp>
+    $<INSTALL_INTERFACE:include>
 )
 add_library(utf8::cpp ALIAS utf8cpp)
 
@@ -39,7 +39,7 @@ if(UTF8_INSTALL)
         INSTALL_DESTINATION ${DEF_INSTALL_CMAKE_DIR}
     )
 
-    install(DIRECTORY source/ DESTINATION include/utf8cpp)
+    install(DIRECTORY source/ DESTINATION include)
     install(TARGETS utf8cpp EXPORT utf8cppTargets)
     install(EXPORT utf8cppTargets DESTINATION ${DEF_INSTALL_CMAKE_DIR})
     install(
