From aa6967fa40fbd1afbd25c28e65b81f862ccb209b Mon Sep 17 00:00:00 2001 From: light7734 Date: Mon, 21 Jul 2025 12:37:46 +0330 Subject: [PATCH] build: fix cmakelists if statement --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 19da931..20829ea 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -16,7 +16,7 @@ endif () add_option(ENABLE_LLVM_COVERAGE "Enables the code coverage instrumentation for clang") if(ENABLE_LLVM_COVERAGE) - if (CMAKE_CXX_COMPILER_ID NOT STREQUAL "Clang") + if (NOT "${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang") message(FATAL_ERROR "ENABLE_LLVM_COVERAGE only supports the clang compiler") endif ()