vcpkg/ports/pangolin/fix-includepath-error.patch
NancyLi1013 8db63fc115
[pangolin] Update to 0.6 and also support osx (#19840)
* [pangolin] Update to 0.6

* Update version files

* Format manifest

* Revert to CRLF in original patches

* Update versions/p-/pangolin.json

* Support osx and add features

* Remove extra space line

* Update versions/p-/pangolin.json

* Remove unused options

* Update versions/p-/pangolin.json

* Add MAYBE_UNUSED_VARIABLES

* Update versions/p-/pangolin.json
2021-09-02 18:01:14 -07:00

14 lines
651 B
Diff

diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index a2c60ea..ddeb144 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -735,7 +735,7 @@ configure_file( ${CMAKE_CURRENT_SOURCE_DIR}/${PROJECT_NAME}Config.cmake.in
${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}Config.cmake @ONLY IMMEDIATE )
# Install tree config
-set( EXPORT_LIB_INC_DIR "\${PROJECT_CMAKE_DIR}/${REL_INCLUDE_DIR}" )
+set( EXPORT_LIB_INC_DIR "\${PROJECT_CMAKE_DIR}/../../include" )
configure_file( ${CMAKE_CURRENT_SOURCE_DIR}/${PROJECT_NAME}Config.cmake.in
${CMAKE_CURRENT_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/${PROJECT_NAME}Config.cmake @ONLY )