Skip to content

Commit

Permalink
CI test attempt 2
Browse files Browse the repository at this point in the history
  • Loading branch information
kernelwernel committed Sep 15, 2023
1 parent 1f1f6ef commit 6a51743
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_EXE_LINKER_FLAGS "-lstdc++ -lm")

if (MSVC)
set(CMAKE_CXX_FLAGS "/W4")
set(CMAKE_CXX_FLAGS "/W4 /std:c++20")
else()
set(CMAKE_CXX_FLAGS "-Wextra -Wall -Wextra -Wconversion -Wdouble-promotion -Wno-unused-parameter -Wno-unused-function -Wno-sign-conversion")
set(CMAKE_CXX_FLAGS "-std=c++20 -Wextra -Wall -Wextra -Wconversion -Wdouble-promotion -Wno-unused-parameter -Wno-unused-function -Wno-sign-conversion")
endif()


Expand Down

0 comments on commit 6a51743

Please sign in to comment.