From 94c24bccef2b2c11bb21abc06b281e0eb06ef24f Mon Sep 17 00:00:00 2001 From: Oula Date: Sat, 28 Sep 2024 15:22:17 -0400 Subject: [PATCH] debugging cmakelists --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 4eebb08..8f5d967 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -62,7 +62,7 @@ endif() message(STATUS "CMAKE_C_COMPILER=${CMAKE_C_COMPILER}, CMAKE_C_COMPILER_ID=${CMAKE_C_COMPILER_ID}, CMAKE_CXX_COMPILER=${CMAKE_CXX_COMPILER}, CMAKE_CXX_COMPILER_ID=${CMAKE_CXX_COMPILER_ID}") # warnings -if(NOT DEFINED ENV{APPLE_ARM64} OR $ENV{APPLE_ARM64} MATCHES "OFF") +if(NOT DEFINED ENV{APPLE_ARM64} OR "$ENV{APPLE_ARM64}" MATCHES "OFF") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -Werror -Wno-absolute-value -Wno-sign-compare -Wno-write-strings -Wno-unused-result -Wno-unused-parameter") endif()