We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 153a0dc commit 973eb90Copy full SHA for 973eb90
CMakeLists.txt
@@ -9,13 +9,12 @@ project(Algorithms_in_C++
9
set(CMAKE_CXX_STANDARD 17)
10
set(CMAKE_CXX_STANDARD_REQUIRED ON)
11
12
-
13
# Additional warnings and errors
14
-set(EXTRA_COMPILE_FLAGS_CXX "-Wno-register -Werror=vla")
15
16
if(MSVC)
17
add_compile_definitions(_CRT_SECURE_NO_WARNINGS)
18
-endif(MSVC)
+else()
+ set(EXTRA_COMPILE_FLAGS_CXX "-Wno-register -Werror=vla")
+endif()
19
20
option(USE_OPENMP "flag to use OpenMP for multithreading" ON)
21
if(USE_OPENMP)
0 commit comments