mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-21 10:27:50 +08:00
10 lines
430 B
CMake
10 lines
430 B
CMake
|
_find_package(${ARGS})
|
||
|
|
||
|
if(TARGET argtable3 AND NOT TARGET argtable3_static)
|
||
|
add_library(argtable3_static INTERFACE IMPORTED)
|
||
|
set_target_properties(argtable3_static PROPERTIES INTERFACE_LINK_LIBRARIES argtable3)
|
||
|
elseif(TARGET argtable3_static AND NOT TARGET argtable3)
|
||
|
add_library(argtable3 INTERFACE IMPORTED)
|
||
|
set_target_properties(argtable3 PROPERTIES INTERFACE_LINK_LIBRARIES argtable3_static)
|
||
|
endif()
|