Skip to content

Commit

Permalink
Update CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
mrzahaki authored Oct 15, 2024
1 parent a4e6f51 commit ebf2555
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sudio/io/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ if(NOT EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/miniaudio")
GIT_REPOSITORY https://github.com/mackron/miniaudio.git
GIT_TAG 0.11.21
)
FetchContent_MakeAvailable(miniaudio)
set(MINIAUDIO_SOURCE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/miniaudio/extras/miniaudio_split")
else()
message(STATUS "Using existing MiniAudio in /miniaudio")
set(MINIAUDIO_SOURCE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/miniaudio/extras/miniaudio_split")
endif()

set(MINIAUDIO_SOURCE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/miniaudio/extras/miniaudio_split")
set(BUILD_SHARED_LIBS OFF CACHE BOOL "Build PortAudio as a static library")
set(PA_DISABLE_INSTALL ON CACHE BOOL "Disable installation of PortAudio")

Expand Down

0 comments on commit ebf2555

Please sign in to comment.