Set revision.h to be a prerequisite of worldserver and authserver building on *nix
--HG-- branch : trunk
This commit is contained in:
@@ -42,6 +42,8 @@ add_executable(authserver
|
|||||||
${authserver_SRCS}
|
${authserver_SRCS}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
add_dependencies(authserver revision.h)
|
||||||
|
|
||||||
add_definitions(-D_TRINITY_REALM_CONFIG='"${CONF_DIR}/authserver.conf"')
|
add_definitions(-D_TRINITY_REALM_CONFIG='"${CONF_DIR}/authserver.conf"')
|
||||||
|
|
||||||
set(authserver_LINK_FLAGS "-pthread ${authserver_LINK_FLAGS}")
|
set(authserver_LINK_FLAGS "-pthread ${authserver_LINK_FLAGS}")
|
||||||
|
|||||||
@@ -122,6 +122,8 @@ add_definitions(
|
|||||||
-D_TRINITY_CORE_CONFIG='"${CONF_DIR}/worldserver.conf"'
|
-D_TRINITY_CORE_CONFIG='"${CONF_DIR}/worldserver.conf"'
|
||||||
)
|
)
|
||||||
|
|
||||||
|
add_dependencies(worldserver revision.h)
|
||||||
|
|
||||||
set(worldserver_LINK_FLAGS
|
set(worldserver_LINK_FLAGS
|
||||||
"-pthread ${worldserver_LINK_FLAGS}"
|
"-pthread ${worldserver_LINK_FLAGS}"
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user