mirror of
https://github.com/nlohmann/json.git
synced 2024-12-17 23:57:52 +08:00
8 lines
221 B
CMake
8 lines
221 B
CMake
project(json_example)
|
|
cmake_minimum_required(VERSION 2.8.12)
|
|
|
|
find_package(nlohmann_json CONFIG REQUIRED)
|
|
|
|
add_executable(json_example example.cpp)
|
|
target_link_libraries(json_example PRIVATE nlohmann_json::nlohmann_json)
|