]>
Commit | Line | Data |
---|---|---|
1e59de90 TL |
1 | cmake_minimum_required(VERSION 3.1) |
2 | ||
3 | project(DummyImport CXX) | |
4 | ||
5 | find_package(nlohmann_json REQUIRED) | |
6 | ||
7 | add_executable(with_namespace_target main.cpp) | |
8 | target_link_libraries(with_namespace_target nlohmann_json::nlohmann_json) | |
9 | ||
10 | add_executable(without_namespace_target main.cpp) | |
11 | target_link_libraries(without_namespace_target nlohmann_json) | |
12 |