summaryrefslogtreecommitdiffstats
path: root/Tests/Module/FindDependency/main.cpp
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2014-02-26 20:30:18 (GMT)
committerStephen Kelly <steveire@gmail.com>2014-02-26 21:21:03 (GMT)
commit0bba365ff5423fc51d574d17b7934e3a0148ac2e (patch)
tree34258bc38cdf5bf6e805f735e445f7318af5b848 /Tests/Module/FindDependency/main.cpp
parent6e6fbb0e436889c93bb64930fda51a1ef32326ae (diff)
downloadCMake-0bba365ff5423fc51d574d17b7934e3a0148ac2e.zip
CMake-0bba365ff5423fc51d574d17b7934e3a0148ac2e.tar.gz
CMake-0bba365ff5423fc51d574d17b7934e3a0148ac2e.tar.bz2
Add test for find_dependency macro.
Diffstat (limited to 'Tests/Module/FindDependency/main.cpp')
-rw-r--r--Tests/Module/FindDependency/main.cpp17
1 files changed, 17 insertions, 0 deletions
diff --git a/Tests/Module/FindDependency/main.cpp b/Tests/Module/FindDependency/main.cpp
new file mode 100644
index 0000000..d635b31
--- /dev/null
+++ b/Tests/Module/FindDependency/main.cpp
@@ -0,0 +1,17 @@
+
+#ifndef HAVE_PACK1
+#error Expected HAVE_PACK1
+#endif
+
+#ifndef HAVE_PACK2
+#error Expected HAVE_PACK2
+#endif
+
+#ifndef HAVE_PACK3
+#error Expected HAVE_PACK3
+#endif
+
+int main(int argc, char** argv)
+{
+ return 0;
+}