add api version information to the library when building with cmake

This commit is contained in:
Dimitri Stolnikov 2012-05-15 18:09:46 +02:00
parent 5140eade9f
commit d01cbad359
1 changed files with 2 additions and 1 deletions

View File

@ -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