File tree Expand file tree Collapse file tree 1 file changed +3
-13
lines changed Expand file tree Collapse file tree 1 file changed +3
-13
lines changed Original file line number Diff line number Diff line change @@ -12,21 +12,11 @@ endif()
12
12
13
13
include (FetchContent )
14
14
15
- # Build with Portaudio
16
- FetchContent_Declare (portaudio GIT_REPOSITORY "https://github.com/PortAudio/portaudio.git" GIT_TAG v19.7.0 )
17
- FetchContent_GetProperties (portaudio )
18
- if (NOT portaudio_POPULATED )
19
- FetchContent_Populate (portaudio )
20
- add_subdirectory (${portaudio_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} /portaudio )
15
+ # Build with arduino-audio-tools
16
+ if (CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR )
17
+ add_subdirectory (${CMAKE_CURRENT_SOURCE_DIR} /../.. ${CMAKE_CURRENT_BINARY_DIR} /arduino-audio-tools )
21
18
endif ()
22
19
23
- # Build with Linux Arduino Emulator
24
- FetchContent_Declare (arduino_emulator GIT_REPOSITORY "https://github.com/pschatzmann/Arduino-Emulator.git" GIT_TAG main )
25
- FetchContent_GetProperties (arduino_emulator )
26
- if (NOT arduino_emulator_POPULATED )
27
- FetchContent_Populate (arduino_emulator )
28
- add_subdirectory (${arduino_emulator_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} /emulator )
29
- endif ()
30
20
31
21
add_subdirectory (${CMAKE_CURRENT_SOURCE_DIR} /aac-fdk ${CMAKE_CURRENT_BINARY_DIR} /aac-fdk )
32
22
add_subdirectory (${CMAKE_CURRENT_SOURCE_DIR} /aac-fdk-encode ${CMAKE_CURRENT_BINARY_DIR} /aac-fdk-encode )
You can’t perform that action at this time.
0 commit comments