Skip to content

Commit

Permalink
fixed and re-added cmake install instructions, w/ following notes: in…
Browse files Browse the repository at this point in the history
…clude directory made proper relative; opened pattern match b/c include directory should only contain files meant for inclusion.
  • Loading branch information
James Gorlick committed Jul 8, 2016
1 parent 5b095bc commit 70710c2
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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 "*")

0 comments on commit 70710c2

Please sign in to comment.