mirror of
https://github.com/azahar-emu/dynarmic.git
synced 2026-03-20 12:41:02 +01:00
CMakeLists: Only enable -pendantic-errors when DYNARMIC_WARNINGS_AS_ERRORS enabled
This commit is contained in:
@@ -91,11 +91,11 @@ else()
|
||||
-Wextra
|
||||
-Wcast-qual
|
||||
-pedantic
|
||||
-pedantic-errors
|
||||
-Wno-missing-braces)
|
||||
|
||||
if (DYNARMIC_WARNINGS_AS_ERRORS)
|
||||
list(APPEND DYNARMIC_CXX_FLAGS
|
||||
-pedantic-errors
|
||||
-Werror)
|
||||
endif()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user