mirror of
https://github.com/gabime/spdlog.git
synced 2025-01-12 17:00:25 +08:00
cmake message
This commit is contained in:
parent
af8354575d
commit
2fb5e75950
@ -29,7 +29,7 @@ endif()
|
|||||||
if(NOT DEFINED CMAKE_CXX_STANDARD)
|
if(NOT DEFINED CMAKE_CXX_STANDARD)
|
||||||
set(CMAKE_CXX_STANDARD 17)
|
set(CMAKE_CXX_STANDARD 17)
|
||||||
elseif(CMAKE_CXX_STANDARD LESS 17)
|
elseif(CMAKE_CXX_STANDARD LESS 17)
|
||||||
message(FATAL_ERROR "Minimum supported CMAKE_CXX_STANDARD is 17, but CMAKE_CXX_STANDARD is set to a lower value.")
|
message(FATAL_ERROR "Minimum supported CMAKE_CXX_STANDARD is 17, but it is set to ${CMAKE_CXX_STANDARD}")
|
||||||
endif()
|
endif()
|
||||||
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user