unfuck the cmake file, too

This commit is contained in:
Arisotura 2022-09-26 21:43:12 +02:00
parent 139d1b0862
commit 592ae4cdff
1 changed files with 0 additions and 2 deletions

View File

@ -60,11 +60,9 @@ if (WIN32)
endif() endif()
if (USE_QT6) if (USE_QT6)
set(Qt6Multimedia_DIR ${QT6_STATIC_BASE}Multimedia)
find_package(Qt6 COMPONENTS Core Gui Widgets Network Multimedia OpenGL OpenGLWidgets REQUIRED) find_package(Qt6 COMPONENTS Core Gui Widgets Network Multimedia OpenGL OpenGLWidgets REQUIRED)
set(QT_LINK_LIBS Qt6::Core Qt6::Gui Qt6::Widgets Qt6::Network Qt6::Multimedia Qt6::OpenGL Qt6::OpenGLWidgets) set(QT_LINK_LIBS Qt6::Core Qt6::Gui Qt6::Widgets Qt6::Network Qt6::Multimedia Qt6::OpenGL Qt6::OpenGLWidgets)
else() else()
set(Qt5Multimedia_DIR ${QT5_STATIC_BASE}Multimedia)
find_package(Qt5 COMPONENTS Core Gui Widgets Network Multimedia REQUIRED) find_package(Qt5 COMPONENTS Core Gui Widgets Network Multimedia REQUIRED)
set(QT_LINK_LIBS Qt5::Core Qt5::Gui Qt5::Widgets Qt5::Network Qt5::Multimedia) set(QT_LINK_LIBS Qt5::Core Qt5::Gui Qt5::Widgets Qt5::Network Qt5::Multimedia)
endif() endif()