diff --git a/CMakeLists.txt b/CMakeLists.txt index d246a59c..39e771f1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -500,6 +500,10 @@ if (UNIX) endif() endif() +if(APPLE) + enable_language(OBJC) + set_source_files_properties(miniaudio.c PROPERTIES LANGUAGE OBJC) +endif() # Static Libraries add_library(miniaudio