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 1e695db commit 9edbd94Copy full SHA for 9edbd94
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
- set_source_files_properties(${miniaudio_SOURCE_DIR}/miniaudio.c PROPERTIES LANGUAGE OBJC)
+ target_compile_options(miniaudio PRIVATE "-x objective-c")
42
target_link_libraries(miniaudio PUBLIC
43
"-framework AudioToolbox"
44
"-framework CoreAudio"
0 commit comments