add api version information to the library when building with cmake
This commit is contained in:
parent
5140eade9f
commit
d01cbad359
|
@ -30,9 +30,10 @@ target_link_libraries(osmosdr_shared
|
|||
|
||||
set_target_properties(osmosdr_shared PROPERTIES DEFINE_SYMBOL "osmosdr_EXPORTS")
|
||||
set_target_properties(osmosdr_shared PROPERTIES OUTPUT_NAME osmosdr)
|
||||
set_target_properties(osmosdr_shared PROPERTIES SOVERSION 0 VERSION 0.0.0)
|
||||
|
||||
add_library(osmosdr_static STATIC
|
||||
osmosdr
|
||||
osmosdr.c
|
||||
)
|
||||
|
||||
target_link_libraries(osmosdr_static
|
||||
|
|
Reference in New Issue