Skip to content

Commit

Permalink
Re-enable c++11 in clang
Browse files Browse the repository at this point in the history
  • Loading branch information
jlblancoc committed Jun 25, 2014
1 parent 53d0c75 commit 84ed433
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -404,8 +404,7 @@ if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99")

# Use modern C++11
# --> Seems to break Eigen (??)
#SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")

IF(NOT APPLE) # any reason for not using it in all platforms?
# Use the libstdc++ lib vs. libc++, to avoid some build errors in MacOS
Expand Down

0 comments on commit 84ed433

Please sign in to comment.