File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ endif()
9595
9696# Json (MIT)
9797include (json)
98- target_link_libraries (jse PUBLIC nlohmann::json )
98+ target_link_libraries (jse PUBLIC nlohmann_json::nlohmann_json )
9999
100100################################################################################
101101# Compiler options
Original file line number Diff line number Diff line change 1111#
1212
1313# JSON MIT
14- if (TARGET nlohmann::json )
14+ if (TARGET nlohmann_json::nlohmann_json )
1515 return ()
1616endif ()
1717
18- message (STATUS "Third-party: creating target 'nlohmann::json '" )
18+ message (STATUS "Third-party: creating target 'nlohmann_json::nlohmann_json '" )
1919
2020# nlohmann_json is a big repo for a single header, so we just download the release archive
2121set (NLOHMANNJSON_VERSION "v3.10.2" )
@@ -29,7 +29,7 @@ FetchContent_Declare(
2929FetchContent_MakeAvailable(nlohmann_json)
3030
3131add_library (nlohmann_json INTERFACE )
32- add_library (nlohmann::json ALIAS nlohmann_json)
32+ add_library (nlohmann_json::nlohmann_json ALIAS nlohmann_json)
3333
3434include (GNUInstallDirs)
3535target_include_directories (nlohmann_json INTERFACE
You can’t perform that action at this time.
0 commit comments