vcpkg/ports/utfcpp/fix-include-path.patch
Rémy Tassoux cf89d998a7
[utfcpp] Update to 4.0.2 (#34933)
* [utfcpp] Update to 4.0.2

* [utfcpp] Update version files
2023-11-07 09:33:16 -08:00

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)