vcpkg/ports/lcms/lcms-config.cmake

12 lines
308 B
CMake
Raw Permalink Normal View History

2024-12-09 11:16:02 -08:00
if(NOT TARGET lcms::lcms)
include(CMakeFindDependencyMacro)
find_dependency(lcms2 CONFIG)
# Create imported target lcms::lcms
add_library(lcms::lcms INTERFACE IMPORTED)
set_target_properties(lcms::lcms PROPERTIES
INTERFACE_LINK_LIBRARIES "lcms2::lcms2"
)
endif()