diff options
| author | Kristian Evers <kristianevers@gmail.com> | 2020-02-23 21:06:14 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-02-23 21:06:14 +0100 |
| commit | 741c79137031c95b90a706ae36ae54d0ed73ac8f (patch) | |
| tree | 797b3cef65077904bd7891719f1849e9be9c71de /test/unit | |
| parent | 1e6b0f2bf1442ac68b88baf4542e83dbc65bd93e (diff) | |
| parent | 532abdf67ddeaa90e1c37de7fae8d603f0b5d5cb (diff) | |
| download | PROJ-741c79137031c95b90a706ae36ae54d0ed73ac8f.tar.gz PROJ-741c79137031c95b90a706ae36ae54d0ed73ac8f.zip | |
Merge pull request #1963 from PROJ-BOT/backport-1951-to-7.0
[Backport 7.0] Switch build configuration logic from DISABLE_TIFF to ENABLE_TIFF
Diffstat (limited to 'test/unit')
| -rw-r--r-- | test/unit/CMakeLists.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/unit/CMakeLists.txt b/test/unit/CMakeLists.txt index 2d460756..398738ad 100644 --- a/test/unit/CMakeLists.txt +++ b/test/unit/CMakeLists.txt @@ -153,8 +153,9 @@ set_property(TEST gie_self_tests add_executable(test_network main.cpp test_network.cpp) -if(CURL_FOUND) +if(CURL_ENABLED) include_directories(${CURL_INCLUDE_DIR}) + target_compile_definitions(test_network PRIVATE -DCURL_ENABLED) target_link_libraries(test_network ${CURL_LIBRARY}) endif() target_link_libraries(test_network |
