2020-10-14 05:38:05 +08:00
|
|
|
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 @@
|
2019-05-29 07:58:00 +08:00
|
|
|
# ${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.)
|
2020-10-14 05:38:05 +08:00
|
|
|
+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()
|
2024-05-31 01:27:11 +08:00
|
|
|
+ set (INSTALL_CMAKE_DIR "share/geotiff")
|
2019-05-29 07:58:00 +08:00
|
|
|
+ set (PROJECT_ROOT_DIR "../..")
|
2020-10-14 05:38:05 +08:00
|
|
|
+endif()
|
2019-05-29 07:58:00 +08:00
|
|
|
|
|
|
|
configure_file (project-config.cmake.in project-config.cmake @ONLY)
|
|
|
|
configure_file (project-config-version.cmake.in
|