mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-12 09:19:07 +08:00
22 lines
947 B
Diff
22 lines
947 B
Diff
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||
|
index 2ca50a6..d707dc7 100644
|
||
|
--- a/CMakeLists.txt
|
||
|
+++ b/CMakeLists.txt
|
||
|
@@ -10,7 +10,7 @@ include(GNUInstallDirs)
|
||
|
|
||
|
target_include_directories(utf8cpp INTERFACE
|
||
|
"$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/source>"
|
||
|
- $<INSTALL_INTERFACE:include>
|
||
|
+ $<INSTALL_INTERFACE:include/utf8cpp>
|
||
|
)
|
||
|
|
||
|
include(CMakePackageConfigHelpers)
|
||
|
@@ -44,5 +44,5 @@ install(FILES "${PROJECT_BINARY_DIR}/${PROJECT_NAME}Config.cmake"
|
||
|
"${PROJECT_BINARY_DIR}/${PROJECT_NAME}ConfigVersion.cmake"
|
||
|
DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/${PROJECT_NAME}/cmake)
|
||
|
|
||
|
-install(FILES ${PROJECT_SOURCE_DIR}/source/utf8.h DESTINATION include)
|
||
|
-install(DIRECTORY ${PROJECT_SOURCE_DIR}/source/utf8 DESTINATION include)
|
||
|
+install(FILES ${PROJECT_SOURCE_DIR}/source/utf8.h DESTINATION include/utf8cpp)
|
||
|
+install(DIRECTORY ${PROJECT_SOURCE_DIR}/source/utf8 DESTINATION include/utf8cpp)
|