mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-31 00:47:51 +08:00
10 lines
380 B
CMake
10 lines
380 B
CMake
|
_find_package(${ARGS})
|
||
|
|
||
|
if(TARGET zyre AND NOT TARGET zyre-static)
|
||
|
add_library(zyre-static INTERFACE IMPORTED)
|
||
|
set_target_properties(zyre-static PROPERTIES INTERFACE_LINK_LIBRARIES zyre)
|
||
|
elseif(TARGET zyre-static AND NOT TARGET zyre)
|
||
|
add_library(zyre INTERFACE IMPORTED)
|
||
|
set_target_properties(zyre PROPERTIES INTERFACE_LINK_LIBRARIES zyre-static)
|
||
|
endif()
|