diff options
author | Stephen Kelly <steveire@gmail.com> | 2013-02-08 18:12:45 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2013-02-08 18:21:30 (GMT) |
commit | 510fdcb18801076e2041eaae2941375eecc93ec2 (patch) | |
tree | 97cb7b62dc605e8cc8f46cf092ba75911e0a6e6c /Tests/RunCMake/include_directories/TID-bad-target-stderr.txt | |
parent | 4de71786e89ba35190e23ae9e1c05f902c5350ff (diff) | |
download | CMake-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/TID-bad-target-stderr.txt')
-rw-r--r-- | Tests/RunCMake/include_directories/TID-bad-target-stderr.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Tests/RunCMake/include_directories/TID-bad-target-stderr.txt b/Tests/RunCMake/include_directories/TID-bad-target-stderr.txt new file mode 100644 index 0000000..481e358 --- /dev/null +++ b/Tests/RunCMake/include_directories/TID-bad-target-stderr.txt @@ -0,0 +1,4 @@ +CMake Error at TID-bad-target.cmake:6 \(target_include_directories\): + target_include_directories called with non-compilable target type +Call Stack \(most recent call first\): + CMakeLists.txt:3 \(include\) |