CMake: use correct media sources in WXQT build
Only check for gstreamer in Unix GTK builds. Closes #18945
This commit is contained in:
@@ -447,7 +447,7 @@ if(wxUSE_GUI)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if(wxUSE_MEDIACTRL AND UNIX AND NOT APPLE AND NOT WIN32)
|
||||
if(wxUSE_MEDIACTRL AND WXGTK AND NOT APPLE AND NOT WIN32)
|
||||
find_package(GSTREAMER 1.0 COMPONENTS video)
|
||||
if(NOT GSTREAMER_FOUND)
|
||||
find_package(GSTREAMER 0.10 COMPONENTS interfaces)
|
||||
|
Reference in New Issue
Block a user