Skip to content

Commit

Permalink
use gnu99 standard
Browse files Browse the repository at this point in the history
  • Loading branch information
Georg Martius committed Sep 30, 2013
1 parent 90feba5 commit c5ab490
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ set(MINOR_VERSION 9)
set(PATCH_VERSION 6)
set(VIDSTAB_VERSION ${MAJOR_VERSION}.${MINOR_VERSION}${PATCH_VERSION})

add_definitions( -Wall -O3 -g -Wno-pointer-sign -fPIC )
add_definitions( -Wall -O3 -g -Wno-pointer-sign -fPIC -std=gnu99)
# add_definitions( -Wall -O0 -g -Wno-pointer-sign )

### ORC is not used in any active code at the moment ###
Expand Down
2 changes: 1 addition & 1 deletion tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ project (vid.stab)
SET(CMAKE_BUILTTYPE None)
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/../CMakeModules/")

add_definitions( -Wall -O3 -Wno-pointer-sign -DTESTING )
add_definitions( -Wall -O3 -Wno-pointer-sign -DTESTING -std=gnu99)
#add_definitions( -Wall -O0 -g -Wno-pointer-sign -DTESTING )
find_package(Orc)
if(ORC_FOUND)
Expand Down
2 changes: 1 addition & 1 deletion transcode/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/../CMakeModules/
set(TRANSCODE_ROOT ../../transcode)


add_definitions( -Wall -O3 -Wno-pointer-sign -DTRANSCODE )
add_definitions( -Wall -O3 -Wno-pointer-sign -DTRANSCODE -std=gnu99)
#add_definitions( -Wall -O0 -g -Wno-pointer-sign )
# I tried it with 0.4.14
# 0.4.10 did not work (not all opcode implemented)
Expand Down

0 comments on commit c5ab490

Please sign in to comment.