forked from bartvdbraak/blender
CMake: Correct warning about which C++ version is required
Was only happening on unsupported compilers.
This commit is contained in:
parent
2193e28dfc
commit
90010c3e04
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user