mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-28 19:25:27 +08:00
11 lines
393 B
CMake
11 lines
393 B
CMake
|
if(NOT TARGET jigson::jigson)
|
||
|
include(CMakeFindDependencyMacro)
|
||
|
find_dependency(nlohmann_json CONFIG)
|
||
|
add_library(jigson::jigson INTERFACE IMPORTED)
|
||
|
set_target_properties(jigson::jigson PROPERTIES
|
||
|
INTERFACE_INCLUDE_DIRECTORIES "${_VCPKG_INSTALLED_DIR}/${VCPKG_TARGET_TRIPLET}/include/jigson"
|
||
|
INTERFACE_LINK_LIBRARIES nlohmann_json::nlohmann_json
|
||
|
)
|
||
|
|
||
|
endif()
|