File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -11,15 +11,19 @@ option(UTPP_AMPLIFY_WARNINGS
1111 "Set this to OFF if you wish to use CMake default warning levels; should generally only use to work around support issues for your specific compiler"
1212 ON )
1313
14+ message (STATUS "CMAKE_CXX_COMPILER_ID = ${CMAKE_CXX_COMPILER_ID} " )
1415if (MSVC14 OR MSVC12)
16+ message (STATUS "Using MSVC compiler" )
1517 # has the support we need
1618else ()
1719 include (CheckCXXCompilerFlag)
1820 CHECK_CXX_COMPILER_FLAG("-std=c++14" COMPILER_SUPPORTS_CXX14)
1921 CHECK_CXX_COMPILER_FLAG("-std=c++11" COMPILER_SUPPORTS_CXX11)
2022 if (COMPILER_SUPPORTS_CXX14)
23+ message (STATUS "Specify C++14" )
2124 set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14" )
2225 elseif (COMPILER_SUPPORTS_CXX11)
26+ message (STATUS "Specify C++11" )
2327 set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11" )
2428 else ()
2529 message (STATUS "The compiler ${CMAKE_CXX_COMPILER} has no C++11 support. Please use a different C++ compiler." )
You can’t perform that action at this time.
0 commit comments