mirror of
https://github.com/azahar-emu/dynarmic
synced 2025-11-06 23:19:58 +01:00
CMakeLists: Only enable -pendantic-errors when DYNARMIC_WARNINGS_AS_ERRORS enabled
This commit is contained in:
parent
29dde29560
commit
96e1794658
@ -91,11 +91,11 @@ else()
|
|||||||
-Wextra
|
-Wextra
|
||||||
-Wcast-qual
|
-Wcast-qual
|
||||||
-pedantic
|
-pedantic
|
||||||
-pedantic-errors
|
|
||||||
-Wno-missing-braces)
|
-Wno-missing-braces)
|
||||||
|
|
||||||
if (DYNARMIC_WARNINGS_AS_ERRORS)
|
if (DYNARMIC_WARNINGS_AS_ERRORS)
|
||||||
list(APPEND DYNARMIC_CXX_FLAGS
|
list(APPEND DYNARMIC_CXX_FLAGS
|
||||||
|
-pedantic-errors
|
||||||
-Werror)
|
-Werror)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user