0
0
mirror of https://github.com/zeux/pugixml.git synced 2024-12-26 21:04:25 +08:00

Export targets from build directory

This will allow projects to use pugixml from its build directory
rather than having to install it.
This commit is contained in:
Kyle Edwards 2020-04-27 16:02:56 -04:00
parent 184e6ed916
commit d272f11073

View File

@ -174,6 +174,9 @@ install(EXPORT pugixml-targets
NAMESPACE pugixml::
DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/pugixml COMPONENT ${PUGIXML_DEVELOPMENT_COMPONENT})
export(EXPORT pugixml-targets
NAMESPACE pugixml::)
install(FILES
"${PROJECT_BINARY_DIR}/pugixml-config-version.cmake"
"${PROJECT_BINARY_DIR}/pugixml-config.cmake"