mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-25 12:50:26 +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()
|