Skip to content

Commit a3015cf

Browse files
committed
vro
1 parent 9edbd94 commit a3015cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ target_link_libraries(${PROJECT_NAME} miniaudio)
3838
# Compiling through the command line requires linking to -lpthread and -lm.
3939

4040
if ("${CMAKE_SYSTEM_NAME}" STREQUAL "iOS" OR IOS)
41-
target_compile_options(miniaudio PRIVATE "-x objective-c")
41+
set_source_files_properties(${miniaudio_SOURCE_DIR}/miniaudio.c PROPERTIES COMPILE_FLAGS "-x objective-c")
4242
target_link_libraries(miniaudio PUBLIC
4343
"-framework AudioToolbox"
4444
"-framework CoreAudio"

0 commit comments

Comments
 (0)