From 8b4104ef24d612161946888743762a97735f62b2 Mon Sep 17 00:00:00 2001 From: Orion Poplawski Date: Wed, 3 Sep 2014 14:31:48 -0600 Subject: scripts: Add EXPORT pugixml-config --- scripts/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/CMakeLists.txt b/scripts/CMakeLists.txt index 0895d28..ba0f67c 100644 --- a/scripts/CMakeLists.txt +++ b/scripts/CMakeLists.txt @@ -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) -- cgit v1.2.3