diff options
author | JinWang An <jinwang.an@samsung.com> | 2023-02-16 23:08:49 +0900 |
---|---|---|
committer | JinWang An <jinwang.an@samsung.com> | 2023-02-16 23:09:11 +0900 |
commit | 1a17cc2cfef919ecfd684e072c52fc8cecb35fc8 (patch) | |
tree | 0b84c4d23e8d87f40f6f62e92e2f1c0a156f025e | |
parent | ada355e59f40a6ff4886e8b7e9a544580291046f (diff) | |
download | mdg-manager-tizen_9.0.tar.gz mdg-manager-tizen_9.0.tar.bz2 mdg-manager-tizen_9.0.zip |
Migration of cmake 3.25.2tizen_9.0_m2_releasetizen_8.0_m2_releaseaccepted/tizen/unified/20230307.054628accepted/tizen/unified/20230302.065118accepted/tizen/9.0/unified/20241030.232748accepted/tizen/8.0/unified/20231005.093217tizen_9.0tizen_8.0tizenaccepted/tizen_unifiedaccepted/tizen_9.0_unifiedaccepted/tizen_8.0_unified
Change-Id: Ie08d862db54f72da108aa9d9a2e1ddbd7094ad6d
Signed-off-by: JinWang An <jinwang.an@samsung.com>
-rw-r--r-- | CMakeLists.txt | 14 |
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") |