@@ -8,21 +8,21 @@ set (DCMAKE_CXX_FLAGS "-Werror")
8
8
include (FetchContent )
9
9
option (BUILD_SHARED_LIBS "Build using shared libraries" OFF )
10
10
11
- # Build with Portaudio
12
- FetchContent_Declare (portaudio GIT_REPOSITORY "https://github.com/PortAudio/portaudio.git" GIT_TAG master )
13
- FetchContent_GetProperties (portaudio )
14
- if (NOT portaudio_POPULATED )
15
- FetchContent_Populate (portaudio )
16
- add_subdirectory (${portaudio_SOURCE_DIR} )
17
- endif ()
18
-
19
- # Build with Linux Arduino Emulator
20
- FetchContent_Declare (arduino_emulator GIT_REPOSITORY "https://github.com/pschatzmann/Arduino-Emulator.git" GIT_TAG main )
21
- FetchContent_GetProperties (arduino_emulator )
22
- if (NOT arduino_emulator_POPULATED )
23
- FetchContent_Populate (arduino_emulator )
24
- add_subdirectory (${arduino_emulator_SOURCE_DIR} )
25
- endif ()
11
+ # # Build with Portaudio
12
+ # FetchContent_Declare(portaudio GIT_REPOSITORY "https://github.com/PortAudio/portaudio.git" GIT_TAG master )
13
+ # FetchContent_GetProperties(portaudio)
14
+ # if(NOT portaudio_POPULATED)
15
+ # FetchContent_Populate(portaudio)
16
+ # add_subdirectory(${portaudio_SOURCE_DIR})
17
+ # endif()
18
+
19
+ # # Build with Linux Arduino Emulator
20
+ # FetchContent_Declare(arduino_emulator GIT_REPOSITORY "https://github.com/pschatzmann/Arduino-Emulator.git" GIT_TAG main )
21
+ # FetchContent_GetProperties(arduino_emulator)
22
+ # if(NOT arduino_emulator_POPULATED)
23
+ # FetchContent_Populate(arduino_emulator)
24
+ # add_subdirectory(${arduino_emulator_SOURCE_DIR})
25
+ # endif()
26
26
27
27
# Build with arduino-audio-tools
28
28
FetchContent_Declare (arduino_audio_tools GIT_REPOSITORY "https://github.com/pschatzmann/arduino-audio-tools.git" GIT_TAG main )
@@ -43,5 +43,5 @@ target_compile_definitions(generator PUBLIC -DARDUINO -DIS_DESKTOP -DEXIT_ON_STO
43
43
#target_compile_definitions(portaudio PUBLIC -DPA_USE_COREAUDIO=1)
44
44
45
45
# specify libraries
46
- target_link_libraries (generator portaudio arduino_emulator arduino-audio-tools )
46
+ target_link_libraries (generator portaudio_static arduino_emulator arduino-audio-tools )
47
47
0 commit comments