Unverified Commit 4aa47386 authored by Axel Kohlmeyer's avatar Axel Kohlmeyer
Browse files

make handling of (temporary) C++11 check disabling define behave consistent across CMake versions

parent 45e8a417
Loading
Loading
Loading
Loading
+2 −2
Changes for cmake/CMakeLists.txt: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -59,8 +59,8 @@ endif()
option(DISABLE_CXX11_REQUIREMENT "Disable check that requires C++11 for compiling LAMMPS" OFF)
if(DISABLE_CXX11_REQUIREMENT)
  add_definitions(-DLAMMPS_CXX98)
else()
  set(CMAKE_CXX_STANDARD 11)
# else()
#  set(CMAKE_CXX_STANDARD 11)
endif()

# GNU compiler features