summaryrefslogtreecommitdiffstats
path: root/tests/manual/cmake/pass(needsquoting)6
diff options
context:
space:
mode:
authorStephen Kelly <stephen.kelly@kdab.com>2012-02-10 16:40:12 +0100
committerQt by Nokia <qt-info@nokia.com>2012-02-15 18:17:15 +0100
commitc455674555b263c98fe613612babab3efcf10345 (patch)
tree8fe3dede94d0aea36442626f159ace0d91d12679 /tests/manual/cmake/pass(needsquoting)6
parentb800d8b94a7861ecf8853621f6556fca186fb5b7 (diff)
Make the cmake tests work with a namespace build.
Change-Id: I6858c324548373c57963b5ef137772a1f780ec78 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com> Reviewed-by: Clinton Stimpson <clinton@elemtech.com> Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
Diffstat (limited to 'tests/manual/cmake/pass(needsquoting)6')
-rw-r--r--tests/manual/cmake/pass(needsquoting)6/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/manual/cmake/pass(needsquoting)6/CMakeLists.txt b/tests/manual/cmake/pass(needsquoting)6/CMakeLists.txt
index cc1a1bc588..fb971f9ebd 100644
--- a/tests/manual/cmake/pass(needsquoting)6/CMakeLists.txt
+++ b/tests/manual/cmake/pass(needsquoting)6/CMakeLists.txt
@@ -9,6 +9,8 @@ find_package(Qt5Widgets REQUIRED)
include_directories(${Qt5Core_INCLUDE_DIRS} ${Qt5Gui_INCLUDE_DIRS} ${Qt5Widgets_INCLUDE_DIRS})
+add_definitions(${Qt5Core_DEFINITIONS})
+
set(CMAKE_INCLUDE_CURRENT_DIR ON)
qt5_wrap_cpp(moc_files mywidget.h)