mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2024-12-24 01:48:28 +01:00
CI fix
This commit is contained in:
parent
83fc20cacc
commit
94b7676ca5
2
.github/workflows/build_all.yml
vendored
2
.github/workflows/build_all.yml
vendored
@ -54,7 +54,7 @@ jobs:
|
||||
run: vcpkg install fftw3:x64-windows glew:x64-windows glfw3:x64-windows portaudio:x64-windows
|
||||
|
||||
- name: Install rtaudio
|
||||
run: git clone https://github.com/thestk/rtaudio ; cd rtaudio ; mkdir build ; cd build ; cmake .. ; cmake --build . --config Release ; cmake --install .
|
||||
run: git clone https://github.com/thestk/rtaudio ; cd rtaudio ; git checkout 2f2fca4502d506abc50f6d4473b2836d24cfb1e3 ; mkdir build ; cd build ; cmake .. ; cmake --build . --config Release ; cmake --install .
|
||||
|
||||
- name: Prepare CMake
|
||||
working-directory: ${{runner.workspace}}/build
|
||||
|
@ -100,9 +100,8 @@ else()
|
||||
endif ()
|
||||
|
||||
if (${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
|
||||
# TODO: Replace with add_compile_options?
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -static")
|
||||
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -static-libgcc -static-libstdc++")
|
||||
target_compile_options(sdrpp_core PRIVATE -static)
|
||||
target_link_options(sdrpp_core PRIVATE -static-libgcc -static-libstdc++)
|
||||
endif ()
|
||||
|
||||
endif ()
|
||||
|
Loading…
Reference in New Issue
Block a user