use CMAKE_INSTALL_LIBDIR instead of "/usr/lib" 34/71534/1 accepted/tizen_3.0_ivi accepted/tizen_4.0_unified accepted/tizen_ivi accepted/tizen_unified tizen tizen_3.0 tizen_3.0.m2 tizen_4.0 accepted/tizen/3.0/ivi/20161011.065053 accepted/tizen/4.0/unified/20170816.020201 accepted/tizen/4.0/unified/20170828.221920 accepted/tizen/ivi/20160526.014814 accepted/tizen/unified/20170309.074630 accepted/tizen/unified/20170310.110241 submit/tizen/20160526.002426 submit/tizen_3.0_ivi/20161010.000007 submit/tizen_4.0/20170811.094300 submit/tizen_4.0/20170814.115522 submit/tizen_4.0/20170828.100008 submit/tizen_4.0_unified/20170814.115522 submit/tizen_unified/20170308.100418 submit/tizen_unified/20170309.100417 submit/tizen_unified/20170310.104248 tizen_4.0.m1_release
authorSuchang Woo <suchang.woo@samsung.com>
Wed, 25 May 2016 23:53:01 +0000 (08:53 +0900)
committerSuchang Woo <suchang.woo@samsung.com>
Thu, 26 May 2016 00:03:20 +0000 (09:03 +0900)
In a 64-bit or a multi-arch environment, LIBDIR can be "lib64" or
"lib/<multiarch-tuple>".

Signed-off-by: Suchang Woo <suchang.woo@samsung.com>
Change-Id: I6d0d31619c96e74acfbe6247489163050c0baddb

cmake/Modules/FindGstreamer-1.0.cmake

index b144666..1b8ebe3 100644 (file)
@@ -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