mirror of
https://github.com/fmtlib/fmt.git
synced 2025-01-11 23:10:06 +00:00
Report build type.
This commit is contained in:
parent
c0d55e6308
commit
eb04e9abd3
@ -12,6 +12,8 @@ option(FMT_EXTRA_TESTS "Enable extra tests." OFF)
|
|||||||
|
|
||||||
project(FORMAT)
|
project(FORMAT)
|
||||||
|
|
||||||
|
message(STATUS "Build type: ${CMAKE_BUILD_TYPE}")
|
||||||
|
|
||||||
include(CheckCXXCompilerFlag)
|
include(CheckCXXCompilerFlag)
|
||||||
check_cxx_compiler_flag(-std=c++11 HAVE_STD_CPP11_FLAG)
|
check_cxx_compiler_flag(-std=c++11 HAVE_STD_CPP11_FLAG)
|
||||||
if (HAVE_STD_CPP11_FLAG)
|
if (HAVE_STD_CPP11_FLAG)
|
||||||
|
Loading…
Reference in New Issue
Block a user