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