From 70710c25e3ff3140f7c3b78177271d32a8ce77ae Mon Sep 17 00:00:00 2001 From: James Gorlick Date: Thu, 7 Jul 2016 17:05:30 -0700 Subject: [PATCH] fixed and re-added cmake install instructions, w/ following notes: include directory made proper relative; opened pattern match b/c include directory should only contain files meant for inclusion. --- src/CMakeLists.txt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index b96b0b532..43828ce17 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -35,3 +35,10 @@ set_target_properties (${PROJECT_NAME}-shared OUTPUT_NAME ${PROJECT_NAME} VERSION ${${PROJECT_NAME}_VERSION} SOVERSION 0) + +# install instructions +install(TARGETS ${PROJECT_NAME}-static DESTINATION lib) +install(TARGETS ${PROJECT_NAME}-shared DESTINATION lib) +install(DIRECTORY ../include/ + DESTINATION include/${PROJECT_NAME}-${${PROJECT_NAME}_RELEASE_VERSION} + FILES_MATCHING PATTERN "*")