From 5211a3a153f24501742540d6adb293fa0e6ab91e Mon Sep 17 00:00:00 2001 From: Suchang Woo Date: Thu, 26 May 2016 08:53:01 +0900 Subject: [PATCH] use CMAKE_INSTALL_LIBDIR instead of "/usr/lib" In a 64-bit or a multi-arch environment, LIBDIR can be "lib64" or "lib/". Signed-off-by: Suchang Woo Change-Id: I6d0d31619c96e74acfbe6247489163050c0baddb --- cmake/Modules/FindGstreamer-1.0.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/Modules/FindGstreamer-1.0.cmake b/cmake/Modules/FindGstreamer-1.0.cmake index b144666..1b8ebe3 100644 --- a/cmake/Modules/FindGstreamer-1.0.cmake +++ b/cmake/Modules/FindGstreamer-1.0.cmake @@ -7,7 +7,7 @@ FIND_PATH(GSTREAMER_gst_INCLUDE_DIR gst/gst.h ENV INCLUDE DOC "Directory containing gst/gst.h include file") FIND_PATH(GSTREAMER_gstconfig_INCLUDE_DIR gst/gstconfig.h - PATHS ${GSTREAMER_DIR}/include ${GSTREAMER_DIR}/lib/include /usr/local/include/gstreamer-1.0 /usr/include/gstreamer-1.0 /usr/local/lib/include/gstreamer-1.0 /usr/lib/include/gstreamer-1.0 /usr/lib/gstreamer-1.0/include + PATHS ${GSTREAMER_DIR}/include ${GSTREAMER_DIR}/lib/include /usr/local/include/gstreamer-1.0 /usr/include/gstreamer-1.0 /usr/local/lib/include/gstreamer-1.0 /usr/lib/include/gstreamer-1.0 ${CMAKE_INSTALL_LIBDIR}/gstreamer-1.0/include ENV INCLUDE DOC "Directory containing gst/gstconfig.h include file") FIND_LIBRARY(GSTREAMER_gstaudio_LIBRARY NAMES gstaudio-1.0 libgstaudio-1.0 -- 2.7.4