cmake: Don't send two time -std=c99.
authorPierre d'Herbemont <pdherbemont@videolan.org>
Mon, 4 Feb 2008 14:50:02 +0000 (14:50 +0000)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Mon, 4 Feb 2008 14:50:02 +0000 (14:50 +0000)
extras/buildsystem/cmake/CMakeLists/root_CMakeLists.txt
extras/buildsystem/cmake/CMakeLists/src_CMakeLists.txt

index b727102..f18ead1 100644 (file)
@@ -8,8 +8,7 @@ include( ${CMAKE_SOURCE_DIR}/cmake/config.cmake )
 
 add_definitions(-DHAVE_CONFIG_H)
 add_definitions(-D__LIBVLC__)
 
 add_definitions(-DHAVE_CONFIG_H)
 add_definitions(-D__LIBVLC__)
-add_definitions(-I.) # Hack
-add_definitions(-std=c99) # Hack
+add_definitions(-I. -std=c99)
 
 include_directories(${CMAKE_SOURCE_DIR}/include)
 
 
 include_directories(${CMAKE_SOURCE_DIR}/include)
 
index 104494a..cedd503 100644 (file)
@@ -188,4 +188,4 @@ COMMAND sh "rm -f misc/revision.c misc/revision.c.tmp &&
 # SET_TARGET_PROPERTIES
 
 set_target_properties(libvlc libvlc-control vlc PROPERTIES COMPILE_FLAGS
 # SET_TARGET_PROPERTIES
 
 set_target_properties(libvlc libvlc-control vlc PROPERTIES COMPILE_FLAGS
-    "-std=c99 -I. -Wall -Wextra -Wsign-compare -Wundef -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Wmissing-prototypes" )
+    "-Wall -Wextra -Wsign-compare -Wundef -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Wmissing-prototypes" )