diff --git a/CMakeLists.txt b/CMakeLists.txt index 136c20d..d0ca600 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,7 +1,7 @@ #Generated by VisualGDB project wizard. #Note: VisualGDB will automatically update this file when you add new sources to the project. -cmake_minimum_required(VERSION 2.7) +cmake_minimum_required(VERSION 3.3.0) project(SoapyHifiBerrySDR) set(LIBRARIES_FROM_REFERENCES -lpthread -lSoapySDR -lliquid -lasound) add_library(SoapyHifiBerrySDR SHARED SoapyHifiBerry.cpp AudioInput.cpp AudioOutput.cpp configfile.cpp configoption.cpp RtAudio.cpp si5351.cpp SoapyHifiBerrySettings.cpp SoapyHifiBerryStreaming.cpp strlib.cpp Audiodefs.h AudioInput.h AudioOutput.h configfile.h configoption.h DataBuffer.h RtAudio.h si5351.h SoapyHifiBerry.h strlib.h) @@ -9,4 +9,4 @@ target_compile_definitions(SoapyHifiBerrySDR PRIVATE __LINUX_ALSA__) target_compile_options(SoapyHifiBerrySDR PRIVATE -O3 -ggdb ) set_property(TARGET SoapyHifiBerrySDR PROPERTY CXX_STANDARD 17) target_link_libraries(SoapyHifiBerrySDR "${LIBRARIES_FROM_REFERENCES}") -install(TARGETS SoapyHifiBerrySDR DESTINATION lib) \ No newline at end of file +install(TARGETS SoapyHifiBerrySDR DESTINATION /usr/local/lib/arm-linux-gnueabihf/SoapySDR/modules0.8-3/) \ No newline at end of file