diff options
author | Stephen Kelly <steveire@gmail.com> | 2013-12-30 13:35:08 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2014-01-06 16:25:10 (GMT) |
commit | 7461d67cf37a40ce5a6c20e8eaf4cbfff1c7d27e (patch) | |
tree | e09a7efebac382478ed1392cec6c59c2bd391a79 /Source/cmGlobalGenerator.cxx | |
parent | 7fc6e3d607c79c1124b2ac93fac0dcddc326ef66 (diff) | |
download | CMake-7461d67cf37a40ce5a6c20e8eaf4cbfff1c7d27e.zip CMake-7461d67cf37a40ce5a6c20e8eaf4cbfff1c7d27e.tar.gz CMake-7461d67cf37a40ce5a6c20e8eaf4cbfff1c7d27e.tar.bz2 |
cmTarget: Enable convenient include dir handling for INTERFACE_LIBRARY.
Make the CMAKE_INCLUDE_CURRENT_DIR_IN_INTERFACE variable affect
INTERFACE_LIBRARY targets.
Diffstat (limited to 'Source/cmGlobalGenerator.cxx')
-rw-r--r-- | Source/cmGlobalGenerator.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmGlobalGenerator.cxx b/Source/cmGlobalGenerator.cxx index 3b858af..0b58a45 100644 --- a/Source/cmGlobalGenerator.cxx +++ b/Source/cmGlobalGenerator.cxx @@ -1337,13 +1337,13 @@ void cmGlobalGenerator::FinalizeTargetCompileInfo() { cmTarget* t = &ti->second; + t->AppendBuildInterfaceIncludes(); + if (t->GetType() == cmTarget::INTERFACE_LIBRARY) { continue; } - t->AppendBuildInterfaceIncludes(); - for (std::vector<cmValueWithOrigin>::const_iterator it = noconfig_compile_definitions.begin(); it != noconfig_compile_definitions.end(); ++it) |