summaryrefslogtreecommitdiff
path: root/indra/cmake/LibraryInstall.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'indra/cmake/LibraryInstall.cmake')
-rw-r--r--indra/cmake/LibraryInstall.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/cmake/LibraryInstall.cmake b/indra/cmake/LibraryInstall.cmake
new file mode 100644
index 0000000000..5a55c215ed
--- /dev/null
+++ b/indra/cmake/LibraryInstall.cmake
@@ -0,0 +1,4 @@
+list(REMOVE_ITEM ${PROJECT_NAME}_HEADER_FILES CMakeLists.txt)
+install(FILES ${${PROJECT_NAME}_HEADER_FILES}
+ DESTINATION include/${PROJECT_NAME})
+install(TARGETS ${PROJECT_NAME} DESTINATION lib)