diff --git a/CMakeLists.txt b/CMakeLists.txt index 175679e..17137e2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -23,6 +23,8 @@ ######################################################################## cmake_minimum_required(VERSION 2.6) project(gr-gr-air-modes CXX) +set(gr-gr-air-modes_VERSION_MAJOR 0) +set(gr-gr-air-modes_VERSION_MINOR 0) enable_testing() #select the release build type by default to get optimization flags diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt index 5a9504f..9ed79ae 100644 --- a/lib/CMakeLists.txt +++ b/lib/CMakeLists.txt @@ -29,6 +29,8 @@ add_library(air_modes SHARED ) target_link_libraries(air_modes ${Boost_LIBRARIES} ${GRUEL_LIBRARIES} ${GNURADIO_CORE_LIBRARIES}) set_target_properties(air_modes PROPERTIES DEFINE_SYMBOL "AIR_MODES_EXPORTS") +set_target_properties(air_modes PROPERTIES SOVERSION "${gr-gr-air-modes_VERSION_MAJOR}") +set_target_properties(air_modes PROPERTIES VERSION "${gr-gr-air-modes_VERSION_MAJOR}.${gr-gr-air-modes_VERSION_MINOR}") ######################################################################## # Install built library files