mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-20 01:15:35 +01:00
Remove duplicate DO_WARN conditional in toplevel CMakeLists.txt (thanks to imbecile for spotting)
--HG-- branch : trunk
This commit is contained in:
@@ -165,6 +165,7 @@ if(DO_WARN)
|
||||
add_definitions(-Wall -Wfatal-errors -Wextra)
|
||||
else(DO_WARN)
|
||||
message("* Show compile-warnings : No (default)")
|
||||
add_definitions(--no-warnings) # makes build look nice, no warnings shown at all, only errors
|
||||
endif(DO_WARN)
|
||||
|
||||
if(DO_SQL)
|
||||
@@ -225,11 +226,6 @@ if(CMAKE_SYSTEM_NAME MATCHES "Darwin")
|
||||
add_definitions(-D__ASSERTMACROS__)
|
||||
endif(CMAKE_SYSTEM_NAME MATCHES "Darwin")
|
||||
|
||||
if(DO_WARN)
|
||||
else(DO_WARN)
|
||||
add_definitions(--no-warnings) # makes build look nice, no warnings shown at all, only errors
|
||||
endif(DO_WARN)
|
||||
|
||||
set(CMAKE_SKIP_BUILD_RPATH FALSE)
|
||||
set(CMAKE_BUILD_WITH_INSTALL_RPATH FALSE)
|
||||
set(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/lib")
|
||||
|
||||
Reference in New Issue
Block a user