diff --git a/src/wayland/autotests/CMakeLists.txt b/src/wayland/autotests/CMakeLists.txt index 6caa27e71c..8d520ecfaa 100644 --- a/src/wayland/autotests/CMakeLists.txt +++ b/src/wayland/autotests/CMakeLists.txt @@ -1,6 +1,6 @@ include(ECMMarkAsTest) -find_package(Qt5 ${REQUIRED_QT_VERSION} CONFIG REQUIRED Test) +find_package(Qt5 ${QT_MIN_VERSION} CONFIG REQUIRED Test) remove_definitions(-DQT_NO_CAST_FROM_BYTEARRAY) remove_definitions(-DQT_NO_CAST_FROM_ASCII)