diff --git a/compiler.cmake b/compiler.cmake index a0ac042..b68d2ed 100644 --- a/compiler.cmake +++ b/compiler.cmake @@ -127,8 +127,9 @@ if(CMAKE_COMPILER_IS_GNUCXX) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -mfpmath=sse" ) endif() - # Check which version of c++ we can use. We drill down from c++17 to c98 - CHECK_CXX_COMPILER_FLAG( -stdc++17 cxxresult ) + MESSAGE(STATUS "Checking the c++ Standard supported by the compiler" ) + # Check which version of c++ we can use. We drill down from c++17 to c96 + CHECK_CXX_COMPILER_FLAG( -std=c++17 cxxresult ) if( NOT cxxresult ) CHECK_CXX_COMPILER_FLAG( -std=c++14 cxxresult ) if( NOT cxxresult )