diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2018-11-15 13:26:21 +0100 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2018-11-15 13:51:03 +0100 |
| commit | 90df209f276b17a66112cbb58c040693be14d217 (patch) | |
| tree | 742747120c2c5b2b873279a43854ed1623d84684 /CMakeLists.txt | |
| parent | 41347c60637fe6e7cae307e07ad0430eb79652d1 (diff) | |
| download | PROJ-90df209f276b17a66112cbb58c040693be14d217.tar.gz PROJ-90df209f276b17a66112cbb58c040693be14d217.zip | |
autoconf / cmake: build test/ only if needed
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 62a16d7f..66a0d4cf 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -191,5 +191,6 @@ add_subdirectory(include) add_subdirectory(src) add_subdirectory(man) add_subdirectory(cmake) -add_subdirectory(test) - +if(PROJ_TESTS) + add_subdirectory(test) +endif() |
