Skip to content
Snippets Groups Projects
Commit 43eb8471 authored by Eidolon's avatar Eidolon
Browse files

Fix add_library for nlohmann_json

parent 858fa44b
No related branches found
No related tags found
No related merge requests found
# Update from https://github.com/nlohmann/json/releases # Update from https://github.com/nlohmann/json/releases
add_library(nlohmann_json INTERFACE "include/nlohmann/json.hpp" "include/nlohmann/json_fwd.hpp") add_library(nlohmann_json INTERFACE)
target_include_directories(nlohmann_json INTERFACE "${CMAKE_CURRENT_SOURCE_DIR}/include") target_include_directories(nlohmann_json INTERFACE "${CMAKE_CURRENT_SOURCE_DIR}/include")
add_library(nlohmann_json::nlohmann_json ALIAS nlohmann_json) add_library(nlohmann_json::nlohmann_json ALIAS nlohmann_json)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment