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 9079552 + e2bc4f4 commit 0e3f169Copy full SHA for 0e3f169
scripts/pugixml-config.cmake.in
@@ -7,5 +7,6 @@ include("${CMAKE_CURRENT_LIST_DIR}/pugixml-targets.cmake")
7
# for compatibility.
8
if (NOT DEFINED PACKAGE_FIND_VERSION OR PACKAGE_FIND_VERSION VERSION_LESS "1.11")
9
add_library(pugixml INTERFACE IMPORTED)
10
- target_link_libraries(pugixml INTERFACE pugixml::pugixml)
+ # Equivalent to target_link_libraries INTERFACE, but compatible with CMake 3.10
11
+ set_target_properties(pugixml PROPERTIES INTERFACE_LINK_LIBRARIES pugixml::pugixml)
12
endif ()
0 commit comments