aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMike Taves <mwtoews@gmail.com>2020-01-24 20:56:29 +1300
committerGitHub <noreply@github.com>2020-01-24 20:56:29 +1300
commite16a24ab397142ce23fe1e8824fce624fe5fdb42 (patch)
treed499d8c72efc6253c1f3760c5fc6b2720f84b975 /src
parentdf4f78a8c1ea3c08f0b32c061b38b40c4a2d9f60 (diff)
parent43dc8c575275d60ac0455e3a9110d813d5348ec4 (diff)
downloadPROJ-e16a24ab397142ce23fe1e8824fce624fe5fdb42.tar.gz
PROJ-e16a24ab397142ce23fe1e8824fce624fe5fdb42.zip
Merge pull request #1870 from mwtoews/build-testing
CMake: replace PROJ_TESTS with CTest's BUILD_TESTING option
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 48c785a5..8cf57306 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -51,7 +51,9 @@ endif()
if(BUILD_GEOD)
include(bin_geod.cmake)
- include(bin_geodtest.cmake)
+ if(BUILD_TESTING)
+ include(bin_geodtest.cmake)
+ endif()
set(BIN_TARGETS ${BIN_TARGETS} geod)
endif()