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)