vcpkg/ports/argtable3/vcpkg-cmake-wrapper.cmake
myd7349 0c990cbfe0 [argtable3] Add new port (#7815)
* [argtable3] Add new port

* [argtable3] Update patch

* [argtable3] Update patch

* [argtable3] Add vcpkg-cmake-wrapper.cmake
2019-09-12 11:04:29 -07:00

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()