Commit 38b6647d authored by Pierre d'Herbemont's avatar Pierre d'Herbemont
Browse files

cmake: Don't send two time -std=c99.

parent 34c102eb
...@@ -8,8 +8,7 @@ include( ${CMAKE_SOURCE_DIR}/cmake/config.cmake ) ...@@ -8,8 +8,7 @@ include( ${CMAKE_SOURCE_DIR}/cmake/config.cmake )
add_definitions(-DHAVE_CONFIG_H) add_definitions(-DHAVE_CONFIG_H)
add_definitions(-D__LIBVLC__) add_definitions(-D__LIBVLC__)
add_definitions(-I.) # Hack add_definitions(-I. -std=c99)
add_definitions(-std=c99) # Hack
include_directories(${CMAKE_SOURCE_DIR}/include) include_directories(${CMAKE_SOURCE_DIR}/include)
......
...@@ -188,4 +188,4 @@ COMMAND sh "rm -f misc/revision.c misc/revision.c.tmp && ...@@ -188,4 +188,4 @@ COMMAND sh "rm -f misc/revision.c misc/revision.c.tmp &&
# SET_TARGET_PROPERTIES # SET_TARGET_PROPERTIES
set_target_properties(libvlc libvlc-control vlc PROPERTIES COMPILE_FLAGS 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" )
Supports Markdown
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