summaryrefslogtreecommitdiffstats
path: root/Tests/CMakeCommands/target_compile_definitions/consumer.cpp
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-01-30 14:38:52 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2013-01-30 14:38:52 (GMT)
commitda2b0245a380282892be8007f4c3d184a91bcfe0 (patch)
treeee9c9236f472bc2ec09f22b4c04854c0908cb019 /Tests/CMakeCommands/target_compile_definitions/consumer.cpp
parent7462a8a8c3417e559e54d6de7eef837e2adfd2e6 (diff)
parent7bf490e9bb6128082aa178f28691b3fc418322fe (diff)
downloadCMake-da2b0245a380282892be8007f4c3d184a91bcfe0.zip
CMake-da2b0245a380282892be8007f4c3d184a91bcfe0.tar.gz
CMake-da2b0245a380282892be8007f4c3d184a91bcfe0.tar.bz2
Merge topic 'fix-target-property-commands'
7bf490e Make subclasses responsible for joining content. f6b16d4 Don't allow targets args in the new target commands. b3a7e19 Make the Property name protected so that subclasses can use it.
Diffstat (limited to 'Tests/CMakeCommands/target_compile_definitions/consumer.cpp')
-rw-r--r--Tests/CMakeCommands/target_compile_definitions/consumer.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/Tests/CMakeCommands/target_compile_definitions/consumer.cpp b/Tests/CMakeCommands/target_compile_definitions/consumer.cpp
index f835b6c..1a46aa5 100644
--- a/Tests/CMakeCommands/target_compile_definitions/consumer.cpp
+++ b/Tests/CMakeCommands/target_compile_definitions/consumer.cpp
@@ -19,4 +19,8 @@
#error Expected SHOULD_BE_DEFINED
#endif
+#ifndef DASH_D_DEFINE
+#error Expected DASH_D_DEFINE
+#endif
+
int main() { return 0; }