mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-30 11:11:38 +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()
|