mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-15 23:20:36 +01:00
Build: Add WITH_WARNINGS_AS_ERRORS cmake option that turns compile warnings into compile errors
This commit is contained in:
@@ -38,9 +38,9 @@ target_include_directories(mapextractor
|
||||
${CMAKE_CURRENT_BINARY_DIR})
|
||||
|
||||
set_target_properties(mapextractor
|
||||
PROPERTIES
|
||||
FOLDER
|
||||
"tools")
|
||||
PROPERTIES
|
||||
COMPILE_WARNING_AS_ERROR ${WITH_WARNINGS_AS_ERRORS}
|
||||
FOLDER "tools")
|
||||
|
||||
if(UNIX)
|
||||
install(TARGETS mapextractor DESTINATION bin)
|
||||
|
||||
Reference in New Issue
Block a user