summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorOrion Poplawski <orion@cora.nwra.com>2014-09-03 14:31:48 -0600
committerOrion Poplawski <orion@cora.nwra.com>2014-09-03 14:31:48 -0600
commit8b4104ef24d612161946888743762a97735f62b2 (patch)
tree21c1a46d5ece053fd649759a1f04ad3fc94724b9 /scripts
parent211212c9861834c2f8327a1efe6690a893365823 (diff)
scripts: Add EXPORT pugixml-config
Diffstat (limited to 'scripts')
-rw-r--r--scripts/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
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)