added REQUIRED flag to Qt5Widgets in CMakeLists.txt

This commit is contained in:
Kjistóf 2016-12-05 16:23:38 +01:00
parent 55df60d51f
commit 3c3acaaaa5

View File

@ -10,7 +10,7 @@ find_package(Threads REQUIRED)
find_package(Boost COMPONENTS system REQUIRED)
include_directories(${Boost_INCLUDE_DIR})
find_package(Qt5Widgets)
find_package(Qt5Widgets REQUIRED)
set(CMAKE_AUTOMOC ON)
set(SOURCE_FILES gui_chat.cpp chat_window.hpp chat_messages.hpp chat_networking.hpp check_policy.hpp)