summaryrefslogtreecommitdiffstats
path: root/Source/cmSourceFile.cxx
diff options
context:
space:
mode:
authorJustin Borodinsky <justin.borodinsky@gmail.com>2015-01-01 19:20:14 (GMT)
committerBrad King <brad.king@kitware.com>2015-01-11 20:11:18 (GMT)
commit7c585699304ac071cdf7c1b8d7677d38b859e70f (patch)
tree043248808cdce9af8768ee531c39285385b63849 /Source/cmSourceFile.cxx
parentc118816d44e178e4364a0c32aaece81a14511237 (diff)
downloadCMake-7c585699304ac071cdf7c1b8d7677d38b859e70f.zip
CMake-7c585699304ac071cdf7c1b8d7677d38b859e70f.tar.gz
CMake-7c585699304ac071cdf7c1b8d7677d38b859e70f.tar.bz2
QtAutoUic: Restore source file AUTOUIC_OPTIONS settings
The "." in the extension was dropped by commit v3.1.0-rc1~556^2~2 (cmSourceFile: Cache the isUiFile check, 2014-02-08) by mistake. This caused the options to not be set.
Diffstat (limited to 'Source/cmSourceFile.cxx')
-rw-r--r--Source/cmSourceFile.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmSourceFile.cxx b/Source/cmSourceFile.cxx
index b833d3f..12eb411 100644
--- a/Source/cmSourceFile.cxx
+++ b/Source/cmSourceFile.cxx
@@ -24,7 +24,7 @@ cmSourceFile::cmSourceFile(cmMakefile* mf, const std::string& name):
this->CustomCommand = 0;
this->Properties.SetCMakeInstance(mf->GetCMakeInstance());
this->FindFullPathFailed = false;
- this->IsUiFile = ("ui" ==
+ this->IsUiFile = (".ui" ==
cmSystemTools::GetFilenameLastExtension(this->Location.GetName()));
}