diff options
| author | Olli Raisa <olli.raisa@trimble.com> | 2020-11-02 09:25:48 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-11-02 08:25:48 +0100 |
| commit | dd829c94fffba3a0b725504d5c7b42384b2e6ee7 (patch) | |
| tree | 05d4af48c47e56c159979a7adb777853c2dcf063 /src | |
| parent | 3b7c3a6ad42e3b4fc20884a71b9b9a9c6aad3dc5 (diff) | |
| download | PROJ-dd829c94fffba3a0b725504d5c7b42384b2e6ee7.tar.gz PROJ-dd829c94fffba3a0b725504d5c7b42384b2e6ee7.zip | |
cmake build: set CURL_ENABLED definition on projinfo build (#2404)
Fixes projinfo operation, when --remote-data command line option is parsed.
Diffstat (limited to 'src')
| -rw-r--r-- | src/bin_projinfo.cmake | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/bin_projinfo.cmake b/src/bin_projinfo.cmake index 16c9e9d0..8610a3a7 100644 --- a/src/bin_projinfo.cmake +++ b/src/bin_projinfo.cmake @@ -15,3 +15,7 @@ install(TARGETS binprojinfo if(MSVC AND BUILD_SHARED_LIBS) target_compile_definitions(binprojinfo PRIVATE PROJ_MSVC_DLL_IMPORT=1) endif() + +if(CURL_ENABLED) + target_compile_definitions(binprojinfo PRIVATE -DCURL_ENABLED) +endif() |
