Skip to content

Commit

Permalink
Set CURL_ENABLED definition on projinfo build
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Nov 2, 2020
1 parent 40daf70 commit 9ba4238
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 9ba4238

Please sign in to comment.