windows-amd64-prebuilt-libr.../vcpkg/ports/proj4/disable-projdb-with-arm-uwp.patch
2020-10-10 14:36:42 +02:00

16 lines
403 B
Diff

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9213990..f51cc5e 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -224,7 +224,9 @@ set(CMAKECONFIGDIR "${DEFAULT_CMAKEDIR}"
include_directories(${PROJ4_SOURCE_DIR}/src)
message(STATUS "")
-add_subdirectory(data)
+if(BUILD_PROJ_DATABASE)
+ add_subdirectory(data)
+endif()
add_subdirectory(include)
add_subdirectory(src)
add_subdirectory(man)