summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/include_directories/RunCMakeTest.cmake
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2013-03-24 20:18:21 (GMT)
committerBrad King <brad.king@kitware.com>2013-03-26 14:45:28 (GMT)
commit28051f1150923804796b4e63e41f6906308788e0 (patch)
treea6892197cd2aba0b1910b2d9ee022cf094da2f24 /Tests/RunCMake/include_directories/RunCMakeTest.cmake
parentaf81a3c31b206633742eb13d41c54a9bc807ffea (diff)
downloadCMake-28051f1150923804796b4e63e41f6906308788e0.zip
CMake-28051f1150923804796b4e63e41f6906308788e0.tar.gz
CMake-28051f1150923804796b4e63e41f6906308788e0.tar.bz2
Report an error on IMPORTED targets with a faulty INTERFACE
It is considered an error if the INTERFACE_INCLUDE_DIRECTORIES contains a directory which does not exist, which indicates a programmer error by the upstream, or a packaging error. One of the RunCMake.CompatibleInterface tests also needs to be updated due to this change. Non-existant includes were used in the test, but are not needed.
Diffstat (limited to 'Tests/RunCMake/include_directories/RunCMakeTest.cmake')
-rw-r--r--Tests/RunCMake/include_directories/RunCMakeTest.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Tests/RunCMake/include_directories/RunCMakeTest.cmake b/Tests/RunCMake/include_directories/RunCMakeTest.cmake
index bd299fc..1caae5c 100644
--- a/Tests/RunCMake/include_directories/RunCMakeTest.cmake
+++ b/Tests/RunCMake/include_directories/RunCMakeTest.cmake
@@ -6,3 +6,4 @@ run_cmake(TID-bad-target)
run_cmake(SourceDirectoryInInterface)
run_cmake(BinaryDirectoryInInterface)
run_cmake(RelativePathInInterface)
+run_cmake(ImportedTarget)