mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-27 02:11:58 +08:00
12 lines
308 B
CMake
12 lines
308 B
CMake
|
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()
|