Skip to content
This repository has been archived by the owner on Feb 25, 2023. It is now read-only.

Commit

Permalink
Merge pull request twitter#135 from paegun/fix_cmake_install
Browse files Browse the repository at this point in the history
Fixed cmake install instructions
  • Loading branch information
thinkingfish authored Feb 9, 2017
2 parents 5b095bc + 70710c2 commit 964645a
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 964645a

Please sign in to comment.