blob: 218a3533531506f4a603ff5336686a9d9674b647 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
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)
|