diff options
| author | Kristian Evers <kristianevers@gmail.com> | 2019-08-06 17:20:53 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-08-06 17:20:53 +0200 |
| commit | cf1d83a4c4b8756daede69edc14b93efffd57019 (patch) | |
| tree | d0c3aeea8d183fb75e480aca073c5fa11afef53e | |
| parent | ec2193939928bae8b8149e777ce0fd86eb57190a (diff) | |
| parent | f849dc37f106ccd9a7a60c2aa04e73e0794b5a39 (diff) | |
| download | PROJ-cf1d83a4c4b8756daede69edc14b93efffd57019.tar.gz PROJ-cf1d83a4c4b8756daede69edc14b93efffd57019.zip | |
Fix tests still running despite being disabled in Release 5.2 (#1559)
Fix tests still running despite being disabled in Release 5.2
| -rw-r--r-- | CMakeLists.txt | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index b100e62f..7f61e21a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -12,7 +12,7 @@ cmake_minimum_required(VERSION 2.6.0 FATAL_ERROR) # For historic reasons, the CMake PROJECT-NAME is PROJ4 -project(PROJ4 LANGUAGES C CXX) +project(PROJ4 C CXX) set(PROJECT_INTERN_NAME PROJ) if (NOT CMAKE_VERSION VERSION_LESS 3.1) @@ -164,5 +164,6 @@ add_subdirectory(nad) add_subdirectory(src) add_subdirectory(man) add_subdirectory(cmake) -add_subdirectory(test) - +if(PROJ_TESTS) + add_subdirectory(test) +endif(PROJ_TESTS) |
