mirror of
https://github.com/greatscottgadgets/hackrf.git
synced 2026-03-21 06:43:03 +01:00
Fix missing shared library version
The libtarget variable isn't defined here (it's used in a helper function above). This caused libhackrf to be built and installed without a version number.
This commit is contained in:
@@ -86,7 +86,7 @@ endfunction()
|
||||
# Dynamic library
|
||||
if(ENABLE_SHARED_LIB)
|
||||
add_library(hackrf SHARED hackrf.c)
|
||||
set_target_properties(${libtarget} PROPERTIES
|
||||
set_target_properties(hackrf PROPERTIES
|
||||
VERSION ${PROJECT_VERSION}
|
||||
SOVERSION ${PROJECT_VERSION_MAJOR})
|
||||
libhackrf_common_settings(hackrf)
|
||||
|
||||
Reference in New Issue
Block a user