vcpkg/ports/jigson/jigson-config.cmake.in
XII 17ae26dff0
[jigson] New port (#40913)
Co-authored-by: Kai Pastor <dg0yt@darc.de>
Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>
Co-authored-by: Jon <v-zhli17@microsoft.com>
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2024-09-16 12:09:31 -07:00

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