Skip to content
Permalink
Browse files

returned -std=c99 flag in acados

  • Loading branch information...
bnovoselnik committed Dec 18, 2018
1 parent e33c8a8 commit 19fbae8b8b517c1821a210e2e0f3e73d854c51cf
Showing with 1 addition and 1 deletion.
  1. +1 −1 CMakeLists.txt
@@ -51,7 +51,7 @@ if(CMAKE_CXX_COMPILER_ID MATCHES "GNU" AND CMAKE_SYSTEM_NAME MATCHES "Windows")
endif()

if(CMAKE_CXX_COMPILER_ID MATCHES "GNU" OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -fdiagnostics-show-option")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99 -Wall -fdiagnostics-show-option")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wall -fdiagnostics-show-option")
elseif(CMAKE_CXX_COMPILER_ID MATCHES "MSVC")
set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} /MT")

0 comments on commit 19fbae8

Please sign in to comment.
You can’t perform that action at this time.