Skip to content

Commit

Permalink
[CMake] Make the dependence on C++98 explicit, to accommodate modern …
Browse files Browse the repository at this point in the history
…C++ compilers that default to C++11.
  • Loading branch information
neboat committed Feb 17, 2018
1 parent afe3f5a commit 9af889f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,9 @@ else()
set(cilk_c_flags
-std=c99
)
set(cilk_cxx_flags
-std=c++98
)
# -fcilkplus is required when using GCC/LLVM
if(CXX_SUPPORTS_CILKPLUS_FLAG)
set_property(SOURCE runtime/cilk-abi.c
Expand Down

0 comments on commit 9af889f

Please sign in to comment.