scripts: Add EXPORT pugixml-config
This commit is contained in:
parent
211212c986
commit
8b4104ef24
@ -24,5 +24,6 @@ endif()
|
||||
|
||||
set_target_properties(pugixml PROPERTIES VERSION 1.4 SOVERSION 1)
|
||||
|
||||
install(TARGETS pugixml LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR})
|
||||
install(TARGETS pugixml EXPORT pugixml-config LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR})
|
||||
install(FILES ${HEADERS} DESTINATION include)
|
||||
install(EXPORT pugixml-config DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/pugixml)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user