[Bf-blender-cvs] [90010c3e042] master: CMake: Correct warning about which C++ version is required
Sergey Sharybin
noreply at git.blender.org
Fri Jun 19 14:44:33 CEST 2020
Commit: 90010c3e042a480a88bf8b12205f02ae47c7ddc0
Author: Sergey Sharybin
Date: Fri Jun 19 14:44:03 2020 +0200
Branches: master
https://developer.blender.org/rB90010c3e042a480a88bf8b12205f02ae47c7ddc0
CMake: Correct warning about which C++ version is required
Was only happening on unsupported compilers.
===================================================================
M CMakeLists.txt
===================================================================
diff --git a/CMakeLists.txt b/CMakeLists.txt
index c04f2600894..fee428a3cf6 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1569,7 +1569,7 @@ elseif(
)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++17")
else()
- message(FATAL_ERROR "Unknown compiler ${CMAKE_C_COMPILER_ID}, can't enable C++14 build")
+ message(FATAL_ERROR "Unknown compiler ${CMAKE_C_COMPILER_ID}, can't enable C++17 build")
endif()
# Visual Studio has all standards it supports available by default
More information about the Bf-blender-cvs
mailing list