We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1e02b52 commit dd1f975Copy full SHA for dd1f975
1 file changed
CoreAudioFuzz/jackalope-modifications/CMakeLists.txt
@@ -17,6 +17,16 @@ set (CMAKE_CXX_STANDARD 17)
17
18
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/Jackalope)
19
20
+if(APPLE)
21
+ # If the active architecture is arm64 (Apple Silicon), define the same macros
22
+ # Jackalope uses so <tinyinst.h> selects the correct code paths.
23
+ if("${CMAKE_OSX_ARCHITECTURES}" MATCHES "arm64" OR
24
+ CMAKE_HOST_SYSTEM_PROCESSOR MATCHES "arm64")
25
+ message(STATUS "Configuring CoreAudioFuzz for Apple Silicon (arm64)")
26
+ add_definitions(-D__arm64__=1 -D__aarch64__=1 -DARM64=1)
27
+ endif()
28
+endif()
29
+
30
add_subdirectory(Jackalope)
31
32
add_executable(coreaudiofuzzer
0 commit comments