Skip to content

Commit

Permalink
Patched MSVC compile flags
Browse files Browse the repository at this point in the history
  • Loading branch information
Globostofo committed Nov 11, 2023
1 parent 6aaf49c commit a8f0dd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ set(CMAKE_CXX_STANDARD_REQUIRED YES)
option(BUILD_FAKER_TESTS DEFAULT ON)

if (MSVC)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /std:c++20 /permissive-")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /std:c++20 /permissive- /bigobj")
else ()
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -Wpedantic -Wconversion -Wformat -Werror")
endif ()
Expand Down

0 comments on commit a8f0dd7

Please sign in to comment.