From 3f8055ea56c4e919d6e36936862e8437b37cecc8 Mon Sep 17 00:00:00 2001 From: superp00t Date: Sun, 21 Jul 2024 17:16:37 -0400 Subject: [PATCH] fix(build): or should be OR --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index ae295ed..f487d78 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -29,7 +29,7 @@ set(CMAKE_BUILD_TYPE Debug) include(lib/system/cmake/system.cmake) # Compiler options -if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang" or CMAKE_CXX_COMPILER_ID STREQUAL "GNU") +if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang" OR CMAKE_CXX_COMPILER_ID STREQUAL "GNU") # Some templates abuse offsetof set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-invalid-offsetof")