Skip to content

Commit

Permalink
next attempt with accelerate framework
Browse files Browse the repository at this point in the history
  • Loading branch information
sannysanoff committed Mar 7, 2024
1 parent 4d5162d commit 996a1b9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -377,10 +377,11 @@ add_executable(sdrpp ${SDRPP_SOURCES})
set(SDRPP_LIBS "sdrpp_core")

if(APPLE)
set_source_files_properties("src/macos_init.m" PROPERTIES COMPILE_FLAGS "-std=c99")
list(APPEND SDRPP_LIBS "-framework Foundation")
list(APPEND SDRPP_LIBS "-framework AVFoundation")
list(APPEND SDRPP_LIBS "-framework Accelerate")
set_source_files_properties("src/macos_init.m" PROPERTIES COMPILE_FLAGS "-std=c99")
set_target_properties(sdrpp PROPERTIES LINK_FLAGS "-Wl,-F/System/Library/Frameworks")
endif()


Expand Down
2 changes: 1 addition & 1 deletion core/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ add_library(sdrpp_core SHARED ${SRC} ${BACKEND_SRC})
if(APPLE)
target_link_libraries(sdrpp_core PUBLIC "-framework CoreFoundation")
target_link_libraries(sdrpp_core PUBLIC "-framework Accelerate")
set_target_properties(sdrpp_core PROPERTIES LINK_FLAGS "-Wl,-F/Library/Frameworks")
set_target_properties(sdrpp_core PROPERTIES LINK_FLAGS "-Wl,-F/System/Library/Frameworks")
endif()


Expand Down

0 comments on commit 996a1b9

Please sign in to comment.