diff options
| author | Shauren <shauren.trinity@gmail.com> | 2015-09-06 11:13:24 +0200 |
|---|---|---|
| committer | Shauren <shauren.trinity@gmail.com> | 2015-09-06 11:13:24 +0200 |
| commit | 65999801d3085387a00d7bf0a172be77571123c5 (patch) | |
| tree | 2e4b792d3a35c5f6cc20ce8a1d8456dd56f8303a | |
| parent | a89402cc69efb03856f926623c61429b7d3cd1b6 (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.
| -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 c0451893632..0873bbef7e0 100644 --- a/src/common/CMakeLists.txt +++ b/src/common/CMakeLists.txt @@ -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}) |
