From a0d7533c96d0dcd8611d365e56680b1ebb113aa2 Mon Sep 17 00:00:00 2001 From: Larz Conwell Date: Sun, 2 Nov 2014 00:07:12 -0400 Subject: [PATCH] Closes #319, Install libraries and headers. --- osquery/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/osquery/CMakeLists.txt b/osquery/CMakeLists.txt index 2727a4e0..fe20c76c 100644 --- a/osquery/CMakeLists.txt +++ b/osquery/CMakeLists.txt @@ -193,6 +193,9 @@ endif() TARGET_LINK_LIBRARIES(osquery_shared ${OSQUERY_ADDITIONAL_LINKS}) TARGET_LINK_LIBRARIES(osquery_shared ${OSQUERY_LIBS}) SET_TARGET_PROPERTIES(osquery_shared PROPERTIES OUTPUT_NAME osquery) +INSTALL(TARGETS osquery_shared DESTINATION lib) +INSTALL(TARGETS osquery_static DESTINATION lib) +INSTALL(DIRECTORY ${CMAKE_SOURCE_DIR}/include/ DESTINATION include) ADD_EXECUTABLE(shell main/shell.cpp) TARGET_LINK_LIBRARIES(shell osquery_shared)