Skip to content

Commit b6a6cd5

Browse files
committed
miniaudio cmake download
1 parent a87e424 commit b6a6cd5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

cmake-tests/miniaudio/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ if(CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR)
1313
add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/../.. ${CMAKE_CURRENT_BINARY_DIR}/arduino-audio-tools )
1414
endif()
1515

16+
# Download miniaudio.h
17+
file(DOWNLOAD https://raw.githubusercontent.com/mackron/miniaudio/master/miniaudio.h
18+
${CMAKE_CURRENT_SOURCE_DIR}/miniaudio.h)
19+
1620

1721
# build sketch as executable
1822
add_executable (generator generator.cpp)

0 commit comments

Comments
 (0)