mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-08 21:37:23 +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)
|