Skip to content

Commit

Permalink
update cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
paulh002 committed May 21, 2023
1 parent 73f2e27 commit 4897157
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
#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)
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)
install(TARGETS SoapyHifiBerrySDR DESTINATION /usr/local/lib/arm-linux-gnueabihf/SoapySDR/modules0.8-3/)

0 comments on commit 4897157

Please sign in to comment.