vcpkg/ports/jigson/jigson-config.cmake.in

11 lines
393 B
CMake
Raw Normal View History

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()