Fix tzplatform-config linkage 98/43598/2
authorLukasz Wojciechowski <l.wojciechow@partner.samsung.com>
Fri, 10 Jul 2015 11:54:21 +0000 (13:54 +0200)
committerRafal Krypa <r.krypa@samsung.com>
Tue, 11 Aug 2015 08:46:24 +0000 (01:46 -0700)
tzplatform-config was linked with cmd and service,
but wasn't with common and client libraries.

In fact it's used only by common library.

This patch makes, only common library links with libtzplatform-config.
Linkage with binaries is removed.

Change-Id: Ia6bee0c47d1e5496c36a5479e19be198e4e1ab9b

src/cmd/CMakeLists.txt
src/common/CMakeLists.txt
src/server/CMakeLists.txt

index 70556c6..9c0e192 100644 (file)
@@ -1,6 +1,5 @@
 PKG_CHECK_MODULES(CMD_DEP
     REQUIRED
-    libtzplatform-config
     )
 
 FIND_PACKAGE(Boost REQUIRED COMPONENTS program_options)
index 5fdd83d..b3355c2 100644 (file)
@@ -8,6 +8,7 @@ PKG_CHECK_MODULES(COMMON_DEP
     db-util
     cynara-admin
     cynara-client-async
+    libtzplatform-config
     )
 
 FIND_PACKAGE(Boost REQUIRED)
index b4efd53..3c3be5d 100644 (file)
@@ -1,7 +1,6 @@
 PKG_CHECK_MODULES(SERVER_DEP
     REQUIRED
     libsystemd-daemon
-    libtzplatform-config
     cynara-client
     )