diff options
| author | Conlan Cesar <HeroCC@users.noreply.github.com> | 2019-08-05 10:28:33 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-08-05 10:28:33 -0400 |
| commit | 166c215fc8016f6359f63d749cb3ff06f612692c (patch) | |
| tree | f44fc99f92d22da3521771d04c5a83152647424e | |
| parent | ec2193939928bae8b8149e777ce0fd86eb57190a (diff) | |
| download | PROJ-166c215fc8016f6359f63d749cb3ff06f612692c.tar.gz PROJ-166c215fc8016f6359f63d749cb3ff06f612692c.zip | |
Fix tests still running despite being disabled
This fix was included in release 6.0, simple backport to 5.2.
| -rw-r--r-- | CMakeLists.txt | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index b100e62f..98b2c533 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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) |
