aboutsummaryrefslogtreecommitdiff
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authorMike Taves <mwtoews@gmail.com>2021-10-11 10:23:20 +1300
committerGitHub <noreply@github.com>2021-10-11 10:23:20 +1300
commitd94e045816afd6742a18c454674e5850fe0e6727 (patch)
tree40c2e9e50ed85727743717212ab314a239e7af64 /src/CMakeLists.txt
parent7f0b6bd9c6978ac7639bcaf0de452cb29318e683 (diff)
downloadPROJ-d94e045816afd6742a18c454674e5850fe0e6727.tar.gz
PROJ-d94e045816afd6742a18c454674e5850fe0e6727.zip
CMake: Always build gie if testing is requested (#2899)
Co-authored-by: Even Rouault <even.rouault@spatialys.com>
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 534bc311..4533e822 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -69,7 +69,8 @@ if(BUILD_PROJINFO)
set(BIN_TARGETS ${BIN_TARGETS} binprojinfo)
endif()
-if(BUILD_GIE)
+# Always build gie if testing is requested
+if(BUILD_GIE OR BUILD_TESTING)
include(bin_gie.cmake)
set(BIN_TARGETS ${BIN_TARGETS} gie)
endif()