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:
@@ -24,9 +24,9 @@ target_link_libraries(vmap4assembler
|
||||
zlib)
|
||||
|
||||
set_target_properties(vmap4assembler
|
||||
PROPERTIES
|
||||
FOLDER
|
||||
"tools")
|
||||
PROPERTIES
|
||||
COMPILE_WARNING_AS_ERROR ${WITH_WARNINGS_AS_ERRORS}
|
||||
FOLDER "tools")
|
||||
|
||||
if(UNIX)
|
||||
install(TARGETS vmap4assembler DESTINATION bin)
|
||||
|
||||
Reference in New Issue
Block a user