Skip to content

Commit 46f423c

Browse files
fix: compile options are not strings
1 parent 49e9269 commit 46f423c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON)
1212
# Additional warnings and errors
1313
if(MSVC)
1414
add_compile_definitions(_CRT_SECURE_NO_WARNINGS)
15-
add_compile_options("/W4")
15+
add_compile_options(/W4)
1616
else()
17-
add_compile_options("-Wall -Wextra -Wno-register -Werror=vla")
17+
add_compile_options(-Wall -Wextra -Wno-register -Werror=vla)
1818
endif()
1919

2020
option(USE_OPENMP "flag to use OpenMP for multithreading" ON)

0 commit comments

Comments
 (0)