diff --git a/CMakeLists.txt b/CMakeLists.txt index 1e873810a..6fcbed0fd 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -254,7 +254,7 @@ if(NOT INSTALLER_RUN) list(APPEND CMAKE_PREFIX_PATH "$ENV{QTDIR}") endif() - find_package(Qt5Widgets ${FIND_MODE}) + find_package(Qt5Widgets REQUIRED) endif() add_subdirectory(deps)