We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9edbd94 commit a3015cfCopy full SHA for a3015cf
CMakeLists.txt
@@ -38,7 +38,7 @@ target_link_libraries(${PROJECT_NAME} miniaudio)
38
# Compiling through the command line requires linking to -lpthread and -lm.
39
40
if ("${CMAKE_SYSTEM_NAME}" STREQUAL "iOS" OR IOS)
41
- target_compile_options(miniaudio PRIVATE "-x objective-c")
+ set_source_files_properties(${miniaudio_SOURCE_DIR}/miniaudio.c PROPERTIES COMPILE_FLAGS "-x objective-c")
42
target_link_libraries(miniaudio PUBLIC
43
"-framework AudioToolbox"
44
"-framework CoreAudio"
0 commit comments