Skip to content
Snippets Groups Projects
Commit ddddd365 authored by Riccardo Maria Bianchi's avatar Riccardo Maria Bianchi :sunny:
Browse files

Clean external package name

parent df0538d2
Branches
Tags 3.1.2
No related merge requests found
...@@ -24,7 +24,7 @@ file( GLOB HEADERS JSONParser/*.h ) ...@@ -24,7 +24,7 @@ file( GLOB HEADERS JSONParser/*.h )
add_library( JSONParser SHARED ${HEADERS} ${SOURCES} ) add_library( JSONParser SHARED ${HEADERS} ${SOURCES} )
set_property( TARGET JSONParser set_property( TARGET JSONParser
PROPERTY PUBLIC_HEADER ${HEADERS} ) PROPERTY PUBLIC_HEADER ${HEADERS} )
if( NLOHMANN_JSON_FOUND ) if( nlohmann_json_FOUND )
target_link_libraries( JSONParser PUBLIC nlohmann_json::nlohmann_json GeoModelCore::GeoModelKernel ) target_link_libraries( JSONParser PUBLIC nlohmann_json::nlohmann_json GeoModelCore::GeoModelKernel )
else() else()
message(STATUS "'nlohmann_json' not found by CMake!! Anyway, if you installed the single header file in a standard system include dir, I will be able to use it.") message(STATUS "'nlohmann_json' not found by CMake!! Anyway, if you installed the single header file in a standard system include dir, I will be able to use it.")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment