unfuck the cmake file, too
This commit is contained in:
parent
139d1b0862
commit
592ae4cdff
|
@ -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()
|
||||||
|
|
Loading…
Reference in New Issue