summaryrefslogtreecommitdiffstats
path: root/Tests/Wrapping/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/Wrapping/CMakeLists.txt')
-rw-r--r--Tests/Wrapping/CMakeLists.txt3
1 files changed, 1 insertions, 2 deletions
diff --git a/Tests/Wrapping/CMakeLists.txt b/Tests/Wrapping/CMakeLists.txt
index f1b66fa..6395982 100644
--- a/Tests/Wrapping/CMakeLists.txt
+++ b/Tests/Wrapping/CMakeLists.txt
@@ -99,8 +99,7 @@ ADD_CUSTOM_TARGET(wraplibJava ALL
SET (QT_WRAP_CPP "On")
SET (QT_MOC_EXE "echo")
-SET(DESIRED_QT_VERSION 3)
-INCLUDE( ${CMAKE_ROOT}/Modules/FindQt.cmake )
+INCLUDE( FindQt3 )
IF (QT_FOUND AND QT_UIC_EXECUTABLE)