summaryrefslogtreecommitdiffstats
path: root/Tests/CompileDefinitions/compiletest_mixed_cxx.cpp
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-07-24 15:02:14 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2013-07-24 15:02:14 (GMT)
commit6077847edc57f8104ba0c1edce16ce28178f899b (patch)
treed2bbb12bc8f55ce4a159d4810a9c7fcd643c4d33 /Tests/CompileDefinitions/compiletest_mixed_cxx.cpp
parent52daa0ea34195fba893e61e72030df4840baa425 (diff)
parent4f6bd7022bf670f9516c7b5e67c254d639425ab4 (diff)
downloadCMake-6077847edc57f8104ba0c1edce16ce28178f899b.zip
CMake-6077847edc57f8104ba0c1edce16ce28178f899b.tar.gz
CMake-6077847edc57f8104ba0c1edce16ce28178f899b.tar.bz2
Merge topic 'remove-LINK_LANGUAGE-genex'
4f6bd70 Remove the LINK_LANGUAGE generator expression.
Diffstat (limited to 'Tests/CompileDefinitions/compiletest_mixed_cxx.cpp')
-rw-r--r--Tests/CompileDefinitions/compiletest_mixed_cxx.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/Tests/CompileDefinitions/compiletest_mixed_cxx.cpp b/Tests/CompileDefinitions/compiletest_mixed_cxx.cpp
index c686854..ae6befc 100644
--- a/Tests/CompileDefinitions/compiletest_mixed_cxx.cpp
+++ b/Tests/CompileDefinitions/compiletest_mixed_cxx.cpp
@@ -13,6 +13,10 @@
#error Unexpected LINK_LANGUAGE_IS_C
#endif
+#ifndef C_EXECUTABLE_LINK_LANGUAGE_IS_C
+#error Expected C_EXECUTABLE_LINK_LANGUAGE_IS_C define
+#endif
+
int main(int argc, char **argv)
{
return 0;