Skip to content

Commit

Permalink
Tweak shared library versions.
Browse files Browse the repository at this point in the history
Set the library build and API versions to mimic what the Automake-based
path installs for Linux.  This is (still) probably not very useful.
  • Loading branch information
eeide committed May 19, 2017
1 parent a429ac7 commit 2f31ba8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions runtime/CMakeLists.txt
Expand Up @@ -65,9 +65,9 @@ add_library(libcsmith_so SHARED
volatile_runtime.h
)
set_target_properties(libcsmith_so PROPERTIES OUTPUT_NAME "csmith")
# Set library version to be 0, to mimic what the Automake-based path installs.
# This is probably not very useful.
set_target_properties(libcsmith_so PROPERTIES SOVERSION 0)
# Set library build and API versions to mimic what the Automake-based path
# installs (for Linux). This is probably not very useful.
set_target_properties(libcsmith_so PROPERTIES VERSION 0.0.0 SOVERSION 0)

install(TARGETS libcsmith_so
LIBRARY
Expand Down

0 comments on commit 2f31ba8

Please sign in to comment.