2019-09-28 23:02:55 +03:00
|
|
|
@PACKAGE_INIT@
|
|
|
|
|
|
|
|
|
|
include("${CMAKE_CURRENT_LIST_DIR}/pugixml-targets.cmake")
|
2020-12-03 01:13:35 +03:00
|
|
|
|
|
|
|
|
# If the user is not requiring 1.11 (either by explicitly requesting an older
|
|
|
|
|
# version or not requesting one at all), provide the old imported target name
|
|
|
|
|
# for compatibility.
|
|
|
|
|
if (NOT DEFINED PACKAGE_FIND_VERSION OR PACKAGE_FIND_VERSION VERSION_LESS "1.11")
|
2020-12-10 15:52:35 +03:00
|
|
|
add_library(pugixml INTERFACE IMPORTED)
|
|
|
|
|
target_link_libraries(pugixml INTERFACE pugixml::pugixml)
|
2020-12-03 01:13:35 +03:00
|
|
|
endif ()
|