Skip to content

Commit 1df1c1a

Browse files
committed
🆕 🐎 constexpr support
1 parent 04cb8c3 commit 1df1c1a

File tree

4 files changed

+297
-310
lines changed

4 files changed

+297
-310
lines changed

CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,16 +50,16 @@ endif()
5050

5151
set(IS_COMPILER_OPTION_GCC_LIKE FALSE)
5252
set(IS_COMPILER_OPTION_MSVC_LIKE FALSE)
53-
if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC" OR
54-
("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang" AND
53+
if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC" OR
54+
("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang" AND
5555
"${CMAKE_CXX_COMPILER_FRONTEND_VARIANT}" STREQUAL "MSVC"))
5656
set(IS_COMPILER_OPTION_MSVC_LIKE TRUE) # cl and clang-cl
5757
else()
5858
set(IS_COMPILER_OPTION_GCC_LIKE TRUE) # g++ and clang++
5959
endif()
6060

6161
include(CheckCXXCompilerFlag)
62-
if(IS_COMPILER_OPTION_MSVC_LIKE)
62+
if(IS_COMPILER_OPTION_MSVC_LIKE)
6363
check_cxx_compiler_flag(/std:c++14 HAS_CXX14_FLAG)
6464
check_cxx_compiler_flag(/std:c++17 HAS_CXX17_FLAG)
6565
check_cxx_compiler_flag(/std:c++20 HAS_CXX20_FLAG)

0 commit comments

Comments
 (0)