mirror of https://github.com/mgba-emu/mgba.git
Qt: Remove no-longer used dependency
This commit is contained in:
parent
3b781c00e6
commit
509ab561c9
|
@ -22,7 +22,7 @@ endif()
|
||||||
set(CMAKE_AUTOMOC ON)
|
set(CMAKE_AUTOMOC ON)
|
||||||
set(CMAKE_INCLUDE_CURRENT_DIR ON)
|
set(CMAKE_INCLUDE_CURRENT_DIR ON)
|
||||||
|
|
||||||
find_package(Qt5 COMPONENTS Core Widgets OpenGL Network Multimedia)
|
find_package(Qt5 COMPONENTS Core Widgets Network Multimedia)
|
||||||
|
|
||||||
if(NOT BUILD_GL AND NOT BUILD_GLES2)
|
if(NOT BUILD_GL AND NOT BUILD_GLES2)
|
||||||
message(WARNING "OpenGL is recommended to build the Qt port")
|
message(WARNING "OpenGL is recommended to build the Qt port")
|
||||||
|
@ -165,7 +165,7 @@ set(GB_SRC
|
||||||
PrinterView.cpp)
|
PrinterView.cpp)
|
||||||
|
|
||||||
set(QT_LIBRARIES)
|
set(QT_LIBRARIES)
|
||||||
set(CPACK_DEBIAN_PACKAGE_DEPENDS "${CPACK_DEBIAN_PACKAGE_DEPENDS},libqt5widgets5,libqt5opengl5")
|
set(CPACK_DEBIAN_PACKAGE_DEPENDS "${CPACK_DEBIAN_PACKAGE_DEPENDS},libqt5widgets5")
|
||||||
|
|
||||||
set(AUDIO_SRC)
|
set(AUDIO_SRC)
|
||||||
if(BUILD_SDL)
|
if(BUILD_SDL)
|
||||||
|
@ -301,7 +301,7 @@ endif()
|
||||||
|
|
||||||
list(APPEND QT_LIBRARIES Qt5::Widgets Qt5::Network)
|
list(APPEND QT_LIBRARIES Qt5::Widgets Qt5::Network)
|
||||||
if(BUILD_GL OR BUILD_GLES2 OR BUILD_EPOXY)
|
if(BUILD_GL OR BUILD_GLES2 OR BUILD_EPOXY)
|
||||||
list(APPEND QT_LIBRARIES Qt5::OpenGL ${OPENGL_LIBRARY} ${OPENGLES2_LIBRARY})
|
list(APPEND QT_LIBRARIES ${OPENGL_LIBRARY} ${OPENGLES2_LIBRARY})
|
||||||
endif()
|
endif()
|
||||||
if(QT_STATIC)
|
if(QT_STATIC)
|
||||||
find_library(QTPCRE NAMES qtpcre2 qtpcre)
|
find_library(QTPCRE NAMES qtpcre2 qtpcre)
|
||||||
|
|
Loading…
Reference in New Issue