mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-17 14:27:55 +08:00
17ae26dff0
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>
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()
|