aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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()