Debian Codegraph @

tests/cmake_import/project/CMakeLists.txt

raw
1 cmake_minimum_required(VERSION 3.5...3.14)
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