common: add libudev dependency
authortaeyoung <ty317.kim@samsung.com>
Mon, 5 Sep 2016 02:34:39 +0000 (11:34 +0900)
committertaeyoung <ty317.kim@samsung.com>
Mon, 5 Sep 2016 02:34:39 +0000 (11:34 +0900)
- Add libudev dependency explicitly

Change-Id: I0373f7b54c24a3838912ef65299717092ddfe502
Signed-off-by: taeyoung <ty317.kim@samsung.com>
hw/battery/CMakeLists.txt
hw/external_connection/CMakeLists.txt
packaging/device-manager-plugin-sc7730.spec

index 9703427..48ef1aa 100644 (file)
@@ -4,7 +4,7 @@ PROJECT(battery C)
 SET(PREFIX ${CMAKE_INSTALL_PREFIX})
 
 INCLUDE(FindPkgConfig)
-pkg_check_modules(battery_pkgs REQUIRED hwcommon dlog glib-2.0)
+pkg_check_modules(battery_pkgs REQUIRED hwcommon dlog glib-2.0 libudev)
 
 FOREACH(flag ${battery_pkgs_CFLAGS})
        SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} ${flag}")
index 4ffccfd..e700a2f 100644 (file)
@@ -4,7 +4,7 @@ PROJECT(external_connection C)
 SET(PREFIX ${CMAKE_INSTALL_PREFIX})
 
 INCLUDE(FindPkgConfig)
-pkg_check_modules(external_connection_pkgs REQUIRED hwcommon dlog glib-2.0)
+pkg_check_modules(external_connection_pkgs REQUIRED hwcommon dlog glib-2.0 libudev)
 
 FOREACH(flag ${external_connection_pkgs_CFLAGS})
        SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} ${flag}")
index 30b27c1..b9d23b4 100644 (file)
@@ -12,6 +12,7 @@ BuildRequires:  cmake
 BuildRequires:  pkgconfig(dlog)
 BuildRequires:  pkgconfig(hwcommon)
 BuildRequires:  pkgconfig(glib-2.0)
+BuildRequires:  pkgconfig(libudev)
 
 %description
 Device manager plugin sc7730