Mercurial > minori
comparison dep/pugixml/pugixml-config.cmake @ 364:99c961c91809
core: refactor out byte stream into its own file
easy dubs
author | Paper <paper@paper.us.eu.org> |
---|---|
date | Tue, 16 Jul 2024 21:15:59 -0400 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
363:f10507d8f686 | 364:99c961c91809 |
---|---|
1 | |
2 ####### Expanded from @PACKAGE_INIT@ by configure_package_config_file() ####### | |
3 ####### Any changes to this file will be overwritten by the next CMake run #### | |
4 ####### The input file was pugixml-config.cmake.in ######## | |
5 | |
6 get_filename_component(PACKAGE_PREFIX_DIR "${CMAKE_CURRENT_LIST_DIR}/../" ABSOLUTE) | |
7 | |
8 #################################################################################### | |
9 | |
10 include("${CMAKE_CURRENT_LIST_DIR}/pugixml-targets.cmake") | |
11 | |
12 # If the user is not requiring 1.11 (either by explicitly requesting an older | |
13 # version or not requesting one at all), provide the old imported target name | |
14 # for compatibility. | |
15 if (NOT TARGET pugixml AND (NOT DEFINED PACKAGE_FIND_VERSION OR PACKAGE_FIND_VERSION VERSION_LESS "1.11")) | |
16 add_library(pugixml INTERFACE IMPORTED) | |
17 # Equivalent to target_link_libraries INTERFACE, but compatible with CMake 3.10 | |
18 set_target_properties(pugixml PROPERTIES INTERFACE_LINK_LIBRARIES pugixml::pugixml) | |
19 endif () |