mirror of https://github.com/mgba-emu/mgba.git
Qt: Mark QtMultimedia as optional
This commit is contained in:
parent
74a72a5c07
commit
2b8bb4baf7
|
@ -25,7 +25,7 @@ set(CMAKE_INCLUDE_CURRENT_DIR ON)
|
||||||
|
|
||||||
set(QT_LIBRARIES)
|
set(QT_LIBRARIES)
|
||||||
|
|
||||||
find_package(Qt5 COMPONENTS Core Widgets Network Multimedia)
|
find_package(Qt5 COMPONENTS Core Widgets Network OPTIONAL_COMPONENTS Multimedia)
|
||||||
set(QT Qt5)
|
set(QT Qt5)
|
||||||
|
|
||||||
if(NOT BUILD_GL AND NOT BUILD_GLES2 AND NOT BUILD_GLES3)
|
if(NOT BUILD_GL AND NOT BUILD_GLES2 AND NOT BUILD_GLES3)
|
||||||
|
|
Loading…
Reference in New Issue