CMake: Removed unused variable (thanks, Felix!).
authorRyan C. Gordon <icculus@icculus.org>
Sun, 18 Jan 2015 02:50:14 -0500
changeset 9313 6f04557c6e1f
parent 9312 705bdbbb1f37
child 9314 8d826bc39a45
CMake: Removed unused variable (thanks, Felix!). "MACOSX_COREAUDIO" is actually an internal #define set up elsewhere, and this CMake var is never exported past the CMake script anyhow. Partially fixes Bugzilla #2807.
CMakeLists.txt
--- a/CMakeLists.txt	Sat Jan 17 04:36:15 2015 +0100
+++ b/CMakeLists.txt	Sun Jan 18 02:50:14 2015 -0500
@@ -1051,7 +1051,6 @@
 
   if(SDL_AUDIO)
     set(SDL_AUDIO_DRIVER_COREAUDIO 1)
-    set(MACOSX_COREAUDIO 1)
     file(GLOB AUDIO_SOURCES ${SDL2_SOURCE_DIR}/src/audio/coreaudio/*.c)
     set(SOURCE_FILES ${SOURCE_FILES} ${AUDIO_SOURCES})
     set(HAVE_SDL_AUDIO TRUE)