From 46f423cb85061c6ea786cc0555ce04c9007fa063 Mon Sep 17 00:00:00 2001 From: realstealthninja <68815218+realstealthninja@users.noreply.github.com> Date: Fri, 4 Oct 2024 19:39:59 +0530 Subject: [PATCH] fix: compile options are not strings --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index c43166984..ed1ddfdb8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -12,9 +12,9 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON) # Additional warnings and errors if(MSVC) add_compile_definitions(_CRT_SECURE_NO_WARNINGS) - add_compile_options("/W4") + add_compile_options(/W4) else() - add_compile_options("-Wall -Wextra -Wno-register -Werror=vla") + add_compile_options(-Wall -Wextra -Wno-register -Werror=vla) endif() option(USE_OPENMP "flag to use OpenMP for multithreading" ON)