mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-30 21:57:01 +01:00
Buildsystem: Added dependency on revision_data to common project. Simply including the header in GitRevision.cpp is not enough to rebuild that file after updating sources
Fixes having to build twice before GitRevision returns accurate info.
This commit is contained in:
@@ -81,6 +81,8 @@ add_library(common STATIC
|
||||
${common_STAT_PCH_SRC}
|
||||
)
|
||||
|
||||
add_dependencies(common revision_data.h)
|
||||
|
||||
# Generate precompiled header
|
||||
if (USE_COREPCH)
|
||||
add_cxx_pch(common ${common_STAT_PCH_HDR} ${common_STAT_PCH_SRC})
|
||||
|
||||
Reference in New Issue
Block a user