mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-19 05:37:56 +08:00
6 lines
223 B
CMake
6 lines
223 B
CMake
|
_find_package(${ARGS})
|
||
|
if(TARGET tinyxml2_static AND NOT TARGET tinyxml2)
|
||
|
_add_library(tinyxml2 INTERFACE IMPORTED)
|
||
|
set_target_properties(tinyxml2 PROPERTIES INTERFACE_LINK_LIBRARIES "tinyxml2_static")
|
||
|
endif()
|