fix FindGStreamer.cmake for msys2 mingw

This commit is contained in:
Philippe Renon 2016-07-03 17:43:39 +02:00
parent b7bf94b4c6
commit 89b9de8ab4

View File

@ -65,7 +65,7 @@
# ) # )
#endmacro() #endmacro()
if (WIN32) if (MSVC)
macro(FIND_GSTREAMER_COMPONENT _component_prefix _pkgconfig_name _header _library) macro(FIND_GSTREAMER_COMPONENT _component_prefix _pkgconfig_name _header _library)
find_path(${_component_prefix}_INCLUDE_DIRS find_path(${_component_prefix}_INCLUDE_DIRS
NAMES ${_header} NAMES ${_header}