From f1bb4f32f42b85d5032acb35f5ea4ced1fd33e37 Mon Sep 17 00:00:00 2001 From: Paul Date: Tue, 3 Jan 2023 14:02:18 +0100 Subject: [PATCH] update --- CMakeLists.txt | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 54e7e78..6a51141 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,11 +2,11 @@ #Note: VisualGDB will automatically update this file when you add new sources to the project. cmake_minimum_required(VERSION 2.7) -project(SoapyHifiBerry) +project(SoapyHifiBerrySDR) set(LIBRARIES_FROM_REFERENCES -lpthread -lSoapySDR -lliquid -lasound) -add_library(SoapyHifiBerry 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(SoapyHifiBerry PRIVATE __LINUX_ALSA__) -target_compile_options(SoapyHifiBerry PRIVATE -O3 -ggdb ) -set_property(TARGET SoapyHifiBerry PROPERTY CXX_STANDARD 17) -target_link_libraries(SoapyHifiBerry "${LIBRARIES_FROM_REFERENCES}") -install(TARGETS SoapyHifiBerry DESTINATION /usr/local/lib/arm-linux-gnueabihf/SoapySDR/modules0.8/) \ No newline at end of file +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 /usr/local/lib/arm-linux-gnueabihf/SoapySDR/modules0.8-2/) \ No newline at end of file