Skip to content

Commit

Permalink
Fix PortAudio being linked statically
Browse files Browse the repository at this point in the history
Looks like at some point the default flipped and FlexASIO ended up
linking PortAudio statically instead of a separate DLL.

PortAudio/portaudio@ff75da5 is a likely
culprit.
  • Loading branch information
dechamps committed May 26, 2024
1 parent 71aab1a commit 5bf45ef
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ ExternalProject_Add(
BUILD_ALWAYS TRUE USES_TERMINAL_BUILD TRUE
CMAKE_ARGS ${CMAKE_ARGS}
-DPA_ENABLE_DEBUG_OUTPUT=ON
-DPA_BUILD_SHARED_LIBS=ON
"-DCMAKE_PROJECT_PortAudio_INCLUDE=${CMAKE_CURRENT_LIST_DIR}/portaudio.cmake"
# The CMAKE_INSTALL_INCLUDEDIR built-in was introduced in CMake 3.14.
# Sadly current Visual Studio (16.11.3) ships with CMake 3.13, so we have to work around the missing built-in.
Expand Down

0 comments on commit 5bf45ef

Please sign in to comment.