aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/libgeotiff/cmakelists.patch
diff options
context:
space:
mode:
authorEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
committerEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
commit54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch)
treed915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/libgeotiff/cmakelists.patch
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/libgeotiff/cmakelists.patch')
-rw-r--r--vcpkg/ports/libgeotiff/cmakelists.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/vcpkg/ports/libgeotiff/cmakelists.patch b/vcpkg/ports/libgeotiff/cmakelists.patch
new file mode 100644
index 0000000..8f41fcb
--- /dev/null
+++ b/vcpkg/ports/libgeotiff/cmakelists.patch
@@ -0,0 +1,23 @@
+diff --git a/libgeotiff/cmake/CMakeLists.txt b/libgeotiff/cmake/CMakeLists.txt
+index 47a2b00..3809ba3 100644
+--- a/libgeotiff/cmake/CMakeLists.txt
++++ b/libgeotiff/cmake/CMakeLists.txt
+@@ -6,6 +6,7 @@
+ # ${INSTALL_CMAKE_DIR} and @PROJECT_ROOT_DIR@ is the relative
+ # path to the root from there. (Note that the whole install tree can
+ # be relocated.)
++if (0)
+ if (NOT WIN32)
+ set (INSTALL_CMAKE_DIR "share/cmake/${PROJECT_NAME}")
+ set (PROJECT_ROOT_DIR "../../..")
+@@ -13,6 +14,10 @@ else ()
+ set (INSTALL_CMAKE_DIR "cmake")
+ set (PROJECT_ROOT_DIR "..")
+ endif ()
++else()
++ set (INSTALL_CMAKE_DIR "share/geotiff")
++ set (PROJECT_ROOT_DIR "../..")
++endif()
+
+ configure_file (project-config.cmake.in project-config.cmake @ONLY)
+ configure_file (project-config-version.cmake.in