From: keonho07.kim Date: Fri, 26 Apr 2013 02:06:37 +0000 (+0900) Subject: Build Error patch for "Volume key scenario has been applied for media element and... X-Git-Tag: accepted/tizen_2.1/20130426.150610~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f5a641c892d319bc07e2cdbd63269e0838d53efd;p=framework%2Fweb%2Fwebkit-efl.git Build Error patch for "Volume key scenario has been applied for media element and webaudio." [Title] Build Error patch for "Volume key senario has been applied for media element and webaudio." [Problem] DCM-1102 [Cause] N/A [Solution] N/A Change-Id: Icb998412b249399f7f5f93f5ecf945e55f4044c2 --- diff --git a/Source/cmake/FindMMSOUND.cmake b/Source/cmake/FindMMSOUND.cmake new file mode 100755 index 0000000..1ac6320 --- /dev/null +++ b/Source/cmake/FindMMSOUND.cmake @@ -0,0 +1,29 @@ +# -Try to find MMSOUND +# Once done, this will define +# +# MMSOUND_FOUND - system has mm-sound +# MMSOUND_INCLUDE_DIRS - the mm-sound include directories +# MMSOUND_LIBRARIES - link these to use mm-sound + +INCLUDE(FindPkgConfig) + +PKG_CHECK_MODULES(MMSOUND + mm-sound +) + +FIND_PATH(MMSOUND_INCLUDE_DIRS NAMES mm_sound.h + HINTS ${MMSOUND_INCLUDE_DIRS} ${MMSOUND_INCLUDEDIR} +) +FIND_LIBRARY(MMSOUND_LIBRARIES NAMES mm-sound + HINTS ${MMSOUND_LIBRARY_DIRS} ${MMSOUND_LIBDIR} +) + +SET(MMSOUND_INCLUDE_DIRS + ${MMSOUND_INCLUDE_DIRS} +) +SET(MMSOUND_LIBRARIES + ${MMSOUND_LIBRARIES} +) + +INCLUDE(FindPackageHandleStandardArgs) +FIND_PACKAGE_HANDLE_STANDARD_ARGS(MMSOUND DEFAULT_MSG MMSOUND_INCLUDE_DIRS MMSOUND_LIBRARIES)