diff --git a/desktop_version/CMakeLists.txt b/desktop_version/CMakeLists.txt index 5fcb28b8..837a3973 100644 --- a/desktop_version/CMakeLists.txt +++ b/desktop_version/CMakeLists.txt @@ -229,15 +229,15 @@ elseif(CUSTOM_LEVEL_SUPPORT STREQUAL "DISABLED") endif() if(CMAKE_CXX_COMPILER_ID STREQUAL "Clang") - set(SUPPORTS_IMPLICIT_FALLTHROUGH 1) + set(SUPPORTS_IMPLICIT_FALLTHROUGH TRUE) elseif(CMAKE_CXX_COMPILER_ID STREQUAL "GNU") if(CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 7.0) - set(SUPPORTS_IMPLICIT_FALLTHROUGH 1) + set(SUPPORTS_IMPLICIT_FALLTHROUGH TRUE) else() - set(SUPPORTS_IMPLICIT_FALLTHROUGH 0) + set(SUPPORTS_IMPLICIT_FALLTHROUGH FALSE) endif() else() - set(SUPPORTS_IMPLICIT_FALLTHROUGH 0) + set(SUPPORTS_IMPLICIT_FALLTHROUGH FALSE) endif()