summaryrefslogtreecommitdiff
path: root/indra/cmake/GStreamer10Plugin.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'indra/cmake/GStreamer10Plugin.cmake')
-rw-r--r--indra/cmake/GStreamer10Plugin.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/cmake/GStreamer10Plugin.cmake b/indra/cmake/GStreamer10Plugin.cmake
index 160844ef68..01522db3a3 100644
--- a/indra/cmake/GStreamer10Plugin.cmake
+++ b/indra/cmake/GStreamer10Plugin.cmake
@@ -7,8 +7,8 @@ include(GLIB)
add_library( ll::gstreamer10 INTERFACE IMPORTED )
-if (LINUX OR CMAKE_SYSTEM_NAME MATCHES "FreeBSD")
- include(FindPkgConfig)
+if (LINUX)
+ find_package(PkgConfig REQUIRED)
pkg_check_modules(GSTREAMER10 REQUIRED gstreamer-1.0)
pkg_check_modules(GSTREAMER10_PLUGINS_BASE REQUIRED gstreamer-plugins-base-1.0)