Add build dependencies with capi-base-common, glib-2.0 72/148472/1
authorSungbae Yoo <sungbae.yoo@samsung.com>
Fri, 8 Sep 2017 03:02:33 +0000 (12:02 +0900)
committerSungbae Yoo <sungbae.yoo@samsung.com>
Fri, 8 Sep 2017 03:03:22 +0000 (12:03 +0900)
Signed-off-by: Sungbae Yoo <sungbae.yoo@samsung.com>
Change-Id: I0d6588ce31ed28c2ef05a3313d0bdf879ddd0dc6

lib/CMakeLists.txt
packaging/audit-trail.spec
tools/cli/CMakeLists.txt

index bebe63762413f9066df2f030fcc900a782be81b2..05e9aa3d22470c28d92e1a8da5bd4d2d08a44356 100755 (executable)
@@ -40,6 +40,7 @@ SET (CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,-z,noexecstack"
 
 PKG_CHECK_MODULES(LIBS_DEPS    REQUIRED
                                                        klay
+                                                       capi-base-common
 )
 
 ADD_LIBRARY(${PROJECT_NAME} SHARED ${SOURCES})
index 16a64ef5928d1f1e9be43ad8e4d413c22d72d78d..6b3ab7f654af9759f3e5e948568fe28a4169ba0c 100755 (executable)
@@ -8,7 +8,9 @@ Group:   System/Kernel
 BuildRequires: gcc
 BuildRequires: cmake
 BuildRequires: pkgconfig(klay)
+BuildRequires: pkgconfig(glib-2.0)
 BuildRequires: pkgconfig(cynara-client)
+BuildRequires: pkgconfig(capi-base-common)
 
 %description
 The audit-trail package provides a daemon which is responsible for trailing security logs of auditing.
index 88d18b1cf242c71c0c4fc3b81e851479092841f2..f2c392dbb5389a3ce5e270666cc9f58345ac9769 100644 (file)
@@ -27,6 +27,7 @@ SET_TARGET_PROPERTIES(${CLI_NAME} PROPERTIES PREFIX ""
 
 PKG_CHECK_MODULES(CLI_DEPS     REQUIRED
                                                        klay
+                                                       glib-2.0
 )
 
 INCLUDE_DIRECTORIES(SYSTEM ${CLI_DEPS_INCLUDE_DIRS} ${AUDIT_TRAIL_LIB})