Description: set suitable soname for Debian packaged gnuradio libraries.
Author: A. Maitland Bottoms <bottoms@debian.org>

--- a/lib/CMakeLists.txt
+++ b/lib/CMakeLists.txt
@@ -41,6 +41,8 @@
     PUBLIC $<INSTALL_INTERFACE:include>
   )
 set_target_properties(gnuradio-hpsdr PROPERTIES DEFINE_SYMBOL "gnuradio_hpsdr_EXPORTS")
+set_target_properties(gnuradio-hpsdr PROPERTIES OUTPUT_NAME gnuradio-hpsdr)
+set_target_properties(gnuradio-hpsdr PROPERTIES SOVERSION 2 VERSION 2)
 
 if(APPLE)
     set_target_properties(gnuradio-hpsdr PROPERTIES
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -42,10 +42,10 @@
 list(INSERT CMAKE_MODULE_PATH 0 ${CMAKE_SOURCE_DIR}/cmake/Modules)
 
 # Set the version information here
-set(VERSION_MAJOR 1)
+set(VERSION_MAJOR 2)
 set(VERSION_API   0)
 set(VERSION_ABI   0)
-set(VERSION_PATCH git)
+#set(VERSION_PATCH git)
 
 cmake_policy(SET CMP0011 NEW)
 
