diff options
author | Stephen Kelly <steveire@gmail.com> | 2013-05-16 16:58:58 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2013-05-21 18:42:14 (GMT) |
commit | 8e947670cf2af581fb7b97f040e687aa6a2404e0 (patch) | |
tree | e403b6c2040899c05c5d92e341ef10db9c57686d /Source/cmExtraSublimeTextGenerator.cxx | |
parent | 0ad0c37206fce114c4e4c31f5270b53e181ab3c2 (diff) | |
download | CMake-8e947670cf2af581fb7b97f040e687aa6a2404e0.zip CMake-8e947670cf2af581fb7b97f040e687aa6a2404e0.tar.gz CMake-8e947670cf2af581fb7b97f040e687aa6a2404e0.tar.bz2 |
Sublime: Honor source-level COMPILE_FLAGS property
Make the code match the comment.
Diffstat (limited to 'Source/cmExtraSublimeTextGenerator.cxx')
-rw-r--r-- | Source/cmExtraSublimeTextGenerator.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmExtraSublimeTextGenerator.cxx b/Source/cmExtraSublimeTextGenerator.cxx index e4802d5..62e9194 100644 --- a/Source/cmExtraSublimeTextGenerator.cxx +++ b/Source/cmExtraSublimeTextGenerator.cxx @@ -457,7 +457,7 @@ cmExtraSublimeTextGenerator::ComputeFlagsForObject(cmSourceFile* source, } // Add source file specific flags. - lg->AppendFlags(flags, target->GetProperty("COMPILE_FLAGS")); + lg->AppendFlags(flags, source->GetProperty("COMPILE_FLAGS")); // TODO: Handle Apple frameworks. |