Commit 1e0995cd authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

cmake: Hack to get objective-C files to build with gnu99. (We need cmake...

cmake: Hack to get objective-C files to build with gnu99. (We need cmake upstream to be fixed with Objective-C to do that properly.)
parent e55d8a63
...@@ -114,7 +114,7 @@ if(APPLE) ...@@ -114,7 +114,7 @@ if(APPLE)
"${CMAKE_SHARED_MODULE_CREATE_C_FLAGS} -undefined dynamic_lookup") "${CMAKE_SHARED_MODULE_CREATE_C_FLAGS} -undefined dynamic_lookup")
set(SYS_DARWIN 1) set(SYS_DARWIN 1)
add_definitions(-std=gnu99) # Hack for obj-c files to be compiled with gnu99
vlc_enable_modules(macosx minimal_macosx access_eyetv quartztext) vlc_enable_modules(macosx minimal_macosx access_eyetv quartztext)
vlc_find_frameworks(Cocoa Carbon OpenGL AGL IOKit Quicktime vlc_find_frameworks(Cocoa Carbon OpenGL AGL IOKit Quicktime
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment