Files
MINGW-packages/mingw-w64-leechcraft-git/find_gstreamer_cmake.patch
2014-12-14 01:40:44 +03:00

21 lines
870 B
Diff

--- x86_64/src/plugins/lmp/cmake/FindGStreamer.cmake.orig 2014-12-13 15:55:16.107754000 +0300
+++ x86_64/src/plugins/lmp/cmake/FindGStreamer.cmake 2014-12-13 16:17:21.848582100 +0300
@@ -20,7 +20,7 @@
SET(GStreamer_FIND_QUIETLY FALSE)
ENDIF (GSTREAMER_INCLUDE_DIR AND GSTREAMER_LIBRARIES AND GSTREAMER_BASE_LIBRARY AND GSTREAMER_INTERFACE_LIBRARY)
-IF (NOT WIN32)
+#IF (NOT WIN32 OR MINGW)
# use pkg-config to get the directories and then use these values
# in the FIND_PATH() and FIND_LIBRARY() calls
FIND_PACKAGE(PkgConfig)
@@ -33,7 +33,7 @@
#MESSAGE(STATUS "DEBUG: GStreamer link directory = ${GSTREAMER_LIBRARY_DIRS}")
#MESSAGE(STATUS "DEBUG: GStreamer CFlags = ${GSTREAMER_CFLAGS_OTHER}")
SET(GSTREAMER_DEFINITIONS ${PC_GSTREAMER_CFLAGS_OTHER})
-ENDIF (NOT WIN32)
+#ENDIF (NOT WIN32 OR MINGW)
IF (WIN32 OR APPLE)
SET (USE_GSTREAMER_10 TRUE)