summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJinWang An <jinwang.an@samsung.com>2023-02-16 23:08:49 +0900
committerJinWang An <jinwang.an@samsung.com>2023-02-16 23:09:11 +0900
commit1a17cc2cfef919ecfd684e072c52fc8cecb35fc8 (patch)
tree0b84c4d23e8d87f40f6f62e92e2f1c0a156f025e
parentada355e59f40a6ff4886e8b7e9a544580291046f (diff)
downloadmdg-manager-tizen_9.0.tar.gz
mdg-manager-tizen_9.0.tar.bz2
mdg-manager-tizen_9.0.zip
Change-Id: Ie08d862db54f72da108aa9d9a2e1ddbd7094ad6d Signed-off-by: JinWang An <jinwang.an@samsung.com>
-rw-r--r--CMakeLists.txt14
1 files changed, 5 insertions, 9 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 85d774c..4dfc573 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -27,15 +27,11 @@ SET(COMMON_DEPS glib-2.0
sqlite3
storage
capi-system-system-settings)
-IF (LINUX)
- PKG_CHECK_MODULES(daemon_pkgs REQUIRED ${COMMON_DEPS})
- ADD_DEFINITIONS("-DLINUX")
-ELSE ()
- SET(TIZEN_DEPS dlog libtzplatform-config)
- PKG_CHECK_MODULES(daemon_pkgs REQUIRED ${COMMON_DEPS} ${TIZEN_DEPS})
- ADD_DEFINITIONS("-DUSE_DLOG")
- ADD_DEFINITIONS("-DSUPPORT_BASE64_ENCODING")
-ENDIF()
+
+SET(TIZEN_DEPS dlog libtzplatform-config)
+PKG_CHECK_MODULES(daemon_pkgs REQUIRED ${COMMON_DEPS} ${TIZEN_DEPS})
+ADD_DEFINITIONS("-DUSE_DLOG")
+ADD_DEFINITIONS("-DSUPPORT_BASE64_ENCODING")
MESSAGE(" - Adding external C flags")