Commit 3469c648 authored by vijaysm's avatar vijaysm

Disable check for c++11-long-long flags, since MOAB does not really use C++11...

Disable check for c++11-long-long flags, since MOAB does not really use C++11 internally anyway. This must have been an oversight
parent 092fcdb0
......@@ -31,7 +31,8 @@ if ( CMAKE_COMPILER_IS_GNUCXX OR (CMAKE_CXX_COMPILER_ID MATCHES "Clang") )
FORCE_ADD_FLAGS(CMAKE_C_FLAGS "${MOAB_CXX_FLAGS}")
FORCE_ADD_FLAGS(CMAKE_Fortran_FLAGS "${MOAB_CXX_FLAGS}")
ENABLE_IF_SUPPORTED(MOAB_CXX_FLAGS "-fpermissive")
ENABLE_IF_SUPPORTED(MOAB_CXX_FLAGS "-Wno-c++11-long-long")
# Need to enable or check for this only if user asks for C++11 support
# ENABLE_IF_SUPPORTED(MOAB_CXX_FLAGS "-Wno-c++11-long-long")
if (CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 4.8)
ENABLE_IF_SUPPORTED(MOAB_CXX_FLAGS "-Wno-unused-local-typedefs")
endif()
......
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