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:
Shauren
2015-09-06 11:13:24 +02:00
parent a89402cc69
commit 65999801d3

View File

@@ -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})