mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
Also link to Qt5::Core
This commit is contained in:
parent
c076a517c7
commit
89fe70a77b
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue