mirror of
https://github.com/yhirose/cpp-peglib.git
synced 2024-12-22 20:05:31 +00:00
Don't treat warnings as errors
This commit is contained in:
parent
bc9234a25f
commit
45db14ebd7
@ -53,7 +53,7 @@ if(CMAKE_CXX_COMPILER_ID STREQUAL "Clang"
|
|||||||
elseif(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
|
elseif(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
|
||||||
set(warning_options -Wall -Wpedantic -Wextra)
|
set(warning_options -Wall -Wpedantic -Wextra)
|
||||||
elseif(CMAKE_CXX_COMPILER_ID STREQUAL "MSVC")
|
elseif(CMAKE_CXX_COMPILER_ID STREQUAL "MSVC")
|
||||||
set(warning_options /WX /W4 /wd4503 /wd4512)
|
set(warning_options /W4 /wd4503 /wd4512)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
enable_testing()
|
enable_testing()
|
||||||
|
Loading…
Reference in New Issue
Block a user