mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-30 11:11:38 +08:00
10 lines
380 B
CMake
10 lines
380 B
CMake
|
_find_package(${ARGS})
|
||
|
|
||
|
if(TARGET xeus AND NOT TARGET xeus_static)
|
||
|
add_library(xeus_static INTERFACE IMPORTED)
|
||
|
set_target_properties(xeus_static PROPERTIES INTERFACE_LINK_LIBRARIES xeus)
|
||
|
elseif(TARGET xeus_static AND NOT TARGET xeus)
|
||
|
add_library(xeus INTERFACE IMPORTED)
|
||
|
set_target_properties(xeus PROPERTIES INTERFACE_LINK_LIBRARIES xeus_static)
|
||
|
endif()
|