Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Viktor Kirilov committed Aug 11, 2019
1 parent 10101a1 commit 8f510f9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/cmake/common.cmake
Expand Up @@ -160,7 +160,8 @@ endif()

if(CMAKE_VERSION VERSION_LESS 3.8)
# necessary for some older compilers which don't default to C++11
add_compiler_flags(-std=c++11)
set(CMAKE_CXX_STANDARD 11)
set(CXX_STANDARD_REQUIRED ON)
endif()

if(CMAKE_CXX_COMPILER_ID MATCHES "Clang")
Expand Down

0 comments on commit 8f510f9

Please sign in to comment.