vcpkg/ports/libgeotiff/fix-directory-output.patch
Hiroshi Miura f68711ed02 [libgeotiff] fix install directory for cmake configurations
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2018-02-09 07:24:25 +09:00

15 lines
535 B
Diff

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)