mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-28 19:25:27 +08:00
6 lines
161 B
CMake
6 lines
161 B
CMake
|
cmake_minimum_required(VERSION 3.0)
|
||
|
project(test)
|
||
|
find_package(jsoncpp CONFIG REQUIRED)
|
||
|
add_library(my_lib my_lib.cpp)
|
||
|
target_link_libraries(my_lib jsoncpp_lib)
|