aboutsummaryrefslogtreecommitdiff
path: root/src/bin_projsync.cmake
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2021-07-14 15:01:32 +0200
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2021-07-14 13:02:07 +0000
commit1cb0b8021f0640717356feaff38f99dd8cb9d26e (patch)
tree80c76be7a58fb3eac3ffa16d707158c76a97b5b9 /src/bin_projsync.cmake
parent66f595e4856cdb43cc21d4bfa9d62608e17649c6 (diff)
downloadPROJ-1cb0b8021f0640717356feaff38f99dd8cb9d26e.tar.gz
PROJ-1cb0b8021f0640717356feaff38f99dd8cb9d26e.zip
Merge pull request #2780 from mwtoews/nlohmann_json_interface_lib
CMake: remove external nlohmann_json from INTERFACE_LINK_LIBRARIES target
Diffstat (limited to 'src/bin_projsync.cmake')
-rw-r--r--src/bin_projsync.cmake4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/bin_projsync.cmake b/src/bin_projsync.cmake
index c184a422..6486b5d4 100644
--- a/src/bin_projsync.cmake
+++ b/src/bin_projsync.cmake
@@ -8,10 +8,6 @@ set_target_properties(bin_projsync
OUTPUT_NAME projsync)
target_link_libraries(bin_projsync PRIVATE ${PROJ_LIBRARIES})
target_compile_options(bin_projsync PRIVATE ${PROJ_CXX_WARN_FLAGS})
-if(NLOHMANN_JSON STREQUAL "external")
- target_compile_definitions(bin_projsync PRIVATE EXTERNAL_NLOHMANN_JSON)
- target_link_libraries(bin_projsync PRIVATE nlohmann_json::nlohmann_json)
-endif()
install(TARGETS bin_projsync
DESTINATION ${BINDIR})