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

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

parent 34c102eb
......@@ -8,8 +8,7 @@ include( ${CMAKE_SOURCE_DIR}/cmake/config.cmake )
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)
......
......@@ -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
"-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" )
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