Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2020-06-19 15:44:03 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2020-06-19 15:44:03 +0300
commit90010c3e042a480a88bf8b12205f02ae47c7ddc0 (patch)
tree24394e44f3e953e8ba241f08a5b8fa2894639c19 /CMakeLists.txt
parent2193e28dfc05d08f96b91a9b010b4c5de75f948d (diff)
CMake: Correct warning about which C++ version is required
Was only happening on unsupported compilers.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
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