diff --git a/build/cmake/init.cmake b/build/cmake/init.cmake index 2826e2a3a72b..557b880f976e 100644 --- a/build/cmake/init.cmake +++ b/build/cmake/init.cmake @@ -492,9 +492,6 @@ if(wxUSE_GUI) set(wxUSE_GSTREAMER ${GSTREAMER_FOUND}) set(wxUSE_GSTREAMER_PLAYER OFF) - if(GSTREAMER_PLAYER_INCLUDE_DIRS) - set(wxUSE_GSTREAMER_PLAYER ON) - endif() if(NOT GSTREAMER_FOUND) message(WARNING "GStreamer not found, wxMediaCtrl won't be available")