summaryrefslogtreecommitdiffstats
path: root/Tests/Qt4Targets/main.cpp
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2012-12-30 23:55:38 (GMT)
committerBrad King <brad.king@kitware.com>2013-01-10 14:44:50 (GMT)
commitc8ee07d0adade6b838c0ee8e7c2549285a3b6b85 (patch)
tree8be40446b76270cd9213d5105b227d5c7bed052b /Tests/Qt4Targets/main.cpp
parentc2cde7f1047b2f11e7d4a466000a20d8c42394be (diff)
downloadCMake-c8ee07d0adade6b838c0ee8e7c2549285a3b6b85.zip
CMake-c8ee07d0adade6b838c0ee8e7c2549285a3b6b85.tar.gz
CMake-c8ee07d0adade6b838c0ee8e7c2549285a3b6b85.tar.bz2
FindQt4: Add INTERFACE includes and defines to Qt4 targets
Diffstat (limited to 'Tests/Qt4Targets/main.cpp')
-rw-r--r--Tests/Qt4Targets/main.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/Tests/Qt4Targets/main.cpp b/Tests/Qt4Targets/main.cpp
index f4890fa..3c98c99 100644
--- a/Tests/Qt4Targets/main.cpp
+++ b/Tests/Qt4Targets/main.cpp
@@ -4,6 +4,14 @@
#include <QString>
+#ifndef QT_CORE_LIB
+#error Expected QT_CORE_LIB
+#endif
+
+#ifndef QT_GUI_LIB
+#error Expected QT_GUI_LIB
+#endif
+
int main(int argc, char **argv)
{
QApplication app(argc, argv);