18 lines
336 B
CMake
18 lines
336 B
CMake
cmake_minimum_required(VERSION 3.16)
|
|
project(TestProject LANGUAGES CXX)
|
|
|
|
find_package(fmt CONFIG REQUIRED)
|
|
find_package(nlohmann_json CONFIG REQUIRED)
|
|
|
|
# find_package(fmt REQUIRED)
|
|
# find_package(nlohmann_json REQUIRED)
|
|
|
|
add_executable(test main.cpp)
|
|
|
|
target_link_libraries(
|
|
test
|
|
PRIVATE
|
|
fmt::fmt
|
|
nlohmann_json::nlohmann_json
|
|
)
|