diff --git a/CMakeLists.txt b/CMakeLists.txt index 29530fbc5..a42e8559b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -80,7 +80,16 @@ else () set(GIT_RELEASE "${PROJECT_VERSION}") endif () -find_package(Qt5 REQUIRED COMPONENTS Core Widgets Gui Network Multimedia Svg Concurrent) +find_package(Qt5 REQUIRED + COMPONENTS + Core + Widgets + Gui + Network + Multimedia + Svg + Concurrent + ) if (WIN32) find_package(WinToast REQUIRED) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 2b7f29f37..5d97c6de3 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -262,12 +262,13 @@ target_include_directories(${PROJECT_NAME} PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}) target_link_libraries(${PROJECT_NAME} PRIVATE - Qt5::Concurrent - Qt5::Gui - Qt5::Multimedia - Qt5::Network - Qt5::Svg + Qt5::Core Qt5::Widgets + Qt5::Gui + Qt5::Network + Qt5::Multimedia + Qt5::Svg + Qt5::Concurrent ) if (WinToast_FOUND)