summaryrefslogtreecommitdiffstats
path: root/Tests/CMakeCommands/target_include_directories/consumer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/CMakeCommands/target_include_directories/consumer.cpp')
-rw-r--r--Tests/CMakeCommands/target_include_directories/consumer.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/Tests/CMakeCommands/target_include_directories/consumer.cpp b/Tests/CMakeCommands/target_include_directories/consumer.cpp
index 82b800a..7e3443e 100644
--- a/Tests/CMakeCommands/target_include_directories/consumer.cpp
+++ b/Tests/CMakeCommands/target_include_directories/consumer.cpp
@@ -3,6 +3,7 @@
#include "publicinclude.h"
#include "interfaceinclude.h"
#include "relative_dir.h"
+#include "consumer.h"
#ifdef PRIVATEINCLUDE_DEFINE
#error Unexpected PRIVATEINCLUDE_DEFINE
@@ -24,4 +25,8 @@
#error Expected RELATIVE_DIR_DEFINE
#endif
+#ifndef CONSUMER_DEFINE
+#error Expected CONSUMER_DEFINE
+#endif
+
int main() { return 0; }