We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e48768 commit 6968257Copy full SHA for 6968257
CMakeLists.txt
@@ -50,6 +50,10 @@ else()
50
set_target_properties(docopt_o PROPERTIES POSITION_INDEPENDENT_CODE TRUE)
51
52
add_library(docopt SHARED $<TARGET_OBJECTS:docopt_o>)
53
+ set_target_properties(docopt PROPERTIES
54
+ VERSION ${PROJECT_VERSION}
55
+ SOVERSION ${PROJECT_VERSION_MAJOR}
56
+ )
57
add_library(docopt_s STATIC $<TARGET_OBJECTS:docopt_o>)
58
endif()
59
0 commit comments