vcpkg/ports/libgeotiff/fix-directory-output.patch

15 lines
535 B
Diff
Raw Normal View History

diff -urN a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt
--- a/cmake/CMakeLists.txt 2016-08-12 00:40:10.000000000 +0900
+++ b/cmake/CMakeLists.txt 2018-02-09 07:12:40.422110239 +0900
@@ -10,8 +10,8 @@
set (INSTALL_CMAKE_DIR "share/cmake/${PROJECT_NAME}")
set (PROJECT_ROOT_DIR "../../..")
else ()
- set (INSTALL_CMAKE_DIR "cmake")
- set (PROJECT_ROOT_DIR "..")
+ set (INSTALL_CMAKE_DIR "share/${PROJECT_NAME}")
+ set (PROJECT_ROOT_DIR "../..")
endif ()
configure_file (project-config.cmake.in project-config.cmake @ONLY)