aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2018-11-15 13:26:21 +0100
committerEven Rouault <even.rouault@spatialys.com>2018-11-15 13:51:03 +0100
commit90df209f276b17a66112cbb58c040693be14d217 (patch)
tree742747120c2c5b2b873279a43854ed1623d84684 /CMakeLists.txt
parent41347c60637fe6e7cae307e07ad0430eb79652d1 (diff)
downloadPROJ-90df209f276b17a66112cbb58c040693be14d217.tar.gz
PROJ-90df209f276b17a66112cbb58c040693be14d217.zip
autoconf / cmake: build test/ only if needed
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 62a16d7f..66a0d4cf 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -191,5 +191,6 @@ add_subdirectory(include)
add_subdirectory(src)
add_subdirectory(man)
add_subdirectory(cmake)
-add_subdirectory(test)
-
+if(PROJ_TESTS)
+ add_subdirectory(test)
+endif()