We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5a0fd5d + 4feab60 commit 9079552Copy full SHA for 9079552
scripts/pugixml-config.cmake.in
@@ -6,5 +6,6 @@ include("${CMAKE_CURRENT_LIST_DIR}/pugixml-targets.cmake")
6
# version or not requesting one at all), provide the old imported target name
7
# for compatibility.
8
if (NOT DEFINED PACKAGE_FIND_VERSION OR PACKAGE_FIND_VERSION VERSION_LESS "1.11")
9
- add_library(pugixml ALIAS pugixml::pugixml)
+ add_library(pugixml INTERFACE IMPORTED)
10
+ target_link_libraries(pugixml INTERFACE pugixml::pugixml)
11
endif ()
0 commit comments