summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/include_directories/RunCMakeTest.cmake
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2013-02-08 18:12:45 (GMT)
committerStephen Kelly <steveire@gmail.com>2013-02-08 18:21:30 (GMT)
commit510fdcb18801076e2041eaae2941375eecc93ec2 (patch)
tree97cb7b62dc605e8cc8f46cf092ba75911e0a6e6c /Tests/RunCMake/include_directories/RunCMakeTest.cmake
parent4de71786e89ba35190e23ae9e1c05f902c5350ff (diff)
downloadCMake-510fdcb18801076e2041eaae2941375eecc93ec2.zip
CMake-510fdcb18801076e2041eaae2941375eecc93ec2.tar.gz
CMake-510fdcb18801076e2041eaae2941375eecc93ec2.tar.bz2
Whitelist target types in target_{include_directories,compile_definitions}
Setting include directories or compile definitions on a target created with add_custom_target does not make sense.
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 de37252..ddf268c 100644
--- a/Tests/RunCMake/include_directories/RunCMakeTest.cmake
+++ b/Tests/RunCMake/include_directories/RunCMakeTest.cmake
@@ -2,3 +2,4 @@ include(RunCMake)
run_cmake(NotFoundContent)
run_cmake(DebugIncludes)
+run_cmake(TID-bad-target)