Skip to content

Commit

Permalink
Update CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
simongog committed Jul 4, 2016
1 parent 05d0679 commit 0546faf
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,12 @@ install(TARGETS sdsl
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib
ARCHIVE DESTINATION lib)

math(EXPR SOVERSION "${LIBRARY_VERSION_MAJOR}+1")

set_target_properties(sdsl PROPERTIES
VERSION "${LIBRARY_VERSION_FULL}"
SOVERSION "${LIBRARY_VERSION_MAJOR}"
SOVERSION "${SOVERSION}"
# DEFINE_SYMBOL SDSL_BUILD_DLL
# RUNTIME_OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../examples"
)
)

0 comments on commit 0546faf

Please sign in to comment.