summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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")