diff options
| author | Shauren <shauren.trinity@gmail.com> | 2015-09-06 11:13:24 +0200 |
|---|---|---|
| committer | Shauren <shauren.trinity@gmail.com> | 2015-10-31 17:30:59 +0100 |
| commit | 7fb63478bbe582c404dab4c840756f46d83b5403 (patch) | |
| tree | 9e0c411f5711b511219f967f5aaea33ced2b06df /src | |
| parent | 1de03cf1077f83ca89f75064e5f8810e357be195 (diff) | |
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.
(cherry picked from commit 65999801d3085387a00d7bf0a172be77571123c5)
Diffstat (limited to 'src')
| -rw-r--r-- | src/common/CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/CMakeLists.txt b/src/common/CMakeLists.txt index 2339399e022..7f20fe36ab6 100644 --- a/src/common/CMakeLists.txt +++ b/src/common/CMakeLists.txt @@ -83,6 +83,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}) |
