diff options
author | Sebastian Holtermann <sebholt@xwmw.org> | 2017-08-05 10:46:10 (GMT) |
---|---|---|
committer | Sebastian Holtermann <sebholt@xwmw.org> | 2017-08-05 10:46:10 (GMT) |
commit | 74a1b8ebdeaca81e0654a7e40f78c36cef265025 (patch) | |
tree | 7f0993e13f649c90b74a4c991684844affeea37b /Source/cmQtAutoGenerators.cxx | |
parent | ddd6f0db1ea7e1cda13ce7f86361193548a6c47d (diff) | |
download | CMake-74a1b8ebdeaca81e0654a7e40f78c36cef265025.zip CMake-74a1b8ebdeaca81e0654a7e40f78c36cef265025.tar.gz CMake-74a1b8ebdeaca81e0654a7e40f78c36cef265025.tar.bz2 |
Autogen: Fix configuration suffix initialization
The configuration suffix was used before it was initialized.
Diffstat (limited to 'Source/cmQtAutoGenerators.cxx')
-rw-r--r-- | Source/cmQtAutoGenerators.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmQtAutoGenerators.cxx b/Source/cmQtAutoGenerators.cxx index 56267d0..092bd2d 100644 --- a/Source/cmQtAutoGenerators.cxx +++ b/Source/cmQtAutoGenerators.cxx @@ -366,6 +366,9 @@ bool cmQtAutoGenerators::ReadAutogenInfoFile( return false; } + // -- Meta + InfoGetConfig(makefile, "AM_CONFIG_SUFFIX", config, this->ConfigSuffix); + // - Old settings file { this->SettingsFile = cmSystemTools::CollapseFullPath(targetDirectory); @@ -375,9 +378,6 @@ bool cmQtAutoGenerators::ReadAutogenInfoFile( this->SettingsFile += ".cmake"; } - // -- Meta - InfoGetConfig(makefile, "AM_CONFIG_SUFFIX", config, this->ConfigSuffix); - // - Files and directories InfoGet(makefile, "AM_CMAKE_SOURCE_DIR", this->ProjectSourceDir); InfoGet(makefile, "AM_CMAKE_BINARY_DIR", this->ProjectBinaryDir); |