mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Build: Add WITH_WARNINGS_AS_ERRORS cmake option that turns compile warnings into compile errors
This commit is contained in:
@@ -26,6 +26,6 @@ target_include_directories(extractor_common
|
||||
${CMAKE_CURRENT_SOURCE_DIR})
|
||||
|
||||
set_target_properties(extractor_common
|
||||
PROPERTIES
|
||||
FOLDER
|
||||
"tools")
|
||||
PROPERTIES
|
||||
COMPILE_WARNING_AS_ERROR ${WITH_WARNINGS_AS_ERRORS}
|
||||
FOLDER "tools")
|
||||
|
||||
Reference in New Issue
Block a user