summaryrefslogtreecommitdiffstats
path: root/Source/cmTarget.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2013-12-30 13:35:08 (GMT)
committerStephen Kelly <steveire@gmail.com>2014-01-06 16:25:10 (GMT)
commit7461d67cf37a40ce5a6c20e8eaf4cbfff1c7d27e (patch)
treee09a7efebac382478ed1392cec6c59c2bd391a79 /Source/cmTarget.cxx
parent7fc6e3d607c79c1124b2ac93fac0dcddc326ef66 (diff)
downloadCMake-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/cmTarget.cxx')
-rw-r--r--Source/cmTarget.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx
index b51ea2a..91bd90f 100644
--- a/Source/cmTarget.cxx
+++ b/Source/cmTarget.cxx
@@ -1606,6 +1606,7 @@ void cmTarget::AppendBuildInterfaceIncludes()
if(this->GetType() != cmTarget::SHARED_LIBRARY &&
this->GetType() != cmTarget::STATIC_LIBRARY &&
this->GetType() != cmTarget::MODULE_LIBRARY &&
+ this->GetType() != cmTarget::INTERFACE_LIBRARY &&
!this->IsExecutableWithExports())
{
return;