Skip to content

Commit

Permalink
Merge pull request #2405 from PROJ-BOT/backport-2404-to-7.2
Browse files Browse the repository at this point in the history
[Backport 7.2] Set CURL_ENABLED definition on projinfo build
  • Loading branch information
rouault committed Nov 2, 2020
2 parents 40daf70 + 9ba4238 commit 17de915
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/bin_projinfo.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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()

0 comments on commit 17de915

Please sign in to comment.