cmake: Use -std=gnu99 instead of -std=c99 and link libvlc-control to libvlc.
[vlc.git] / extras / buildsystem / cmake / CMakeLists / root_CMakeLists.txt
index f18ead1..0690081 100644 (file)
@@ -8,7 +8,7 @@ include( ${CMAKE_SOURCE_DIR}/cmake/config.cmake )
 
 add_definitions(-DHAVE_CONFIG_H)
 add_definitions(-D__LIBVLC__)
-add_definitions(-I. -std=c99)
+add_definitions(-I. -std=gnu99)
 
 include_directories(${CMAKE_SOURCE_DIR}/include)