Also link to Qt5::Core

This commit is contained in:
Rasmus Karlsson 2021-02-27 14:06:26 +01:00
parent c076a517c7
commit 89fe70a77b
2 changed files with 16 additions and 6 deletions

View file

@ -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)

View file

@ -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)