mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-18 16:38:42 +01:00
* New -DDO_SQL swich for cmake by default disabled to avoid usual not
* needed copy SQL files on linux environments * Patch by Aokromes --HG-- branch : trunk
This commit is contained in:
@@ -22,6 +22,7 @@ OPTION(DO_RA "With RA" 0)
|
||||
OPTION(DO_DEBUG "Debug mode" 0)
|
||||
OPTION(DO_WARN "Enable all compile warnings" 0)
|
||||
OPTION(CENTOS "CENTOS" 0)
|
||||
OPTION(DO_SQL "Copy SQL files" 0)
|
||||
|
||||
SET(GENREV_SRC
|
||||
src/tools/genrevision/genrevision.cpp
|
||||
@@ -176,4 +177,8 @@ SET(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)
|
||||
add_subdirectory(dep)
|
||||
#add_subdirectory(doc)
|
||||
add_subdirectory(src)
|
||||
if(DO_SQL)
|
||||
message("* Copy SQL files ON")
|
||||
add_subdirectory(sql)
|
||||
endif(DO_SQL)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user