pull/421/head
AlexandreRouma 2021-10-03 18:49:56 +02:00
rodzic 83fc20cacc
commit 94b7676ca5
2 zmienionych plików z 3 dodań i 4 usunięć

Wyświetl plik

@ -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

Wyświetl plik

@ -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 ()