From e8e8da9efdcb728dd1989d9274cbc22be22ae9c4 Mon Sep 17 00:00:00 2001 From: renatofilho Date: Thu, 7 Oct 2010 15:12:57 -0300 Subject: Only compile QtUiLoader if QTDesigner was found. Reviewer: Hugo Parente Lima Luciano Wolf --- CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index db5ca01e1..5613f5242 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -183,7 +183,9 @@ set(GENERATOR_EXTRA_FLAGS --generatorSet=shiboken --enable-parent-ctor-heuristic enable_testing() add_subdirectory(libpyside) -add_subdirectory(plugins) +if(QT_QTDESIGNER_FOUND) + add_subdirectory(plugins) +endif() # project directories add_subdirectory(PySide) add_subdirectory(tests) -- cgit v1.2.3