diff options
author | TaeminYeom <taemin.yeom@samsung.com> | 2023-01-19 16:48:23 +0900 |
---|---|---|
committer | TaeminYeom <taemin.yeom@samsung.com> | 2023-01-19 16:48:23 +0900 |
commit | 474538c047dfa551ff32c24e9ad30db608e38415 (patch) | |
tree | 7fd14fc584165054d56a59000bcd1a368e879e3e | |
parent | d69cd576f2b173d0e8b08998cb2e650bfbfd511a (diff) | |
download | device-tm1-474538c047dfa551ff32c24e9ad30db608e38415.tar.gz device-tm1-474538c047dfa551ff32c24e9ad30db608e38415.tar.bz2 device-tm1-474538c047dfa551ff32c24e9ad30db608e38415.zip |
Add package libsyscommon in CMakeLists.txt
Some modules use libsyscommon function but there is no
package in CMakeLists.txt.
When they are used in deviced, there is no error
because deviced has a libsyscommon linking information.
But running hal-test, there is an linking error.
Change-Id: Ic630cfc9860c1bb5a34782f9055b430221a32171
Signed-off-by: TaeminYeom <taemin.yeom@samsung.com>
-rw-r--r-- | hw/battery/CMakeLists.txt | 2 | ||||
-rw-r--r-- | hw/ir/CMakeLists.txt | 2 | ||||
-rw-r--r-- | hw/led/CMakeLists.txt | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/hw/battery/CMakeLists.txt b/hw/battery/CMakeLists.txt index 56527e2..7fe2efa 100644 --- a/hw/battery/CMakeLists.txt +++ b/hw/battery/CMakeLists.txt @@ -4,7 +4,7 @@ PROJECT(hal-backend-device-battery C) SET(PREFIX ${CMAKE_INSTALL_PREFIX}) INCLUDE(FindPkgConfig) -pkg_check_modules(hal-backend-device-battery_pkgs REQUIRED hal-backend-device-common glib-2.0) +pkg_check_modules(hal-backend-device-battery_pkgs REQUIRED hal-backend-device-common glib-2.0 libsyscommon) FOREACH(flag ${hal-backend-device-battery_pkgs_CFLAGS}) SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} ${flag}") diff --git a/hw/ir/CMakeLists.txt b/hw/ir/CMakeLists.txt index d7f70f5..d792dcf 100644 --- a/hw/ir/CMakeLists.txt +++ b/hw/ir/CMakeLists.txt @@ -2,7 +2,7 @@ CMAKE_MINIMUM_REQUIRED(VERSION 2.6) PROJECT(hal-backend-device-ir C) INCLUDE(FindPkgConfig) -pkg_check_modules(pkgs REQUIRED hal-backend-device-common) +pkg_check_modules(pkgs REQUIRED hal-backend-device-common libsyscommon) FOREACH(flag ${pkgs_CFLAGS}) SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} ${flag}") diff --git a/hw/led/CMakeLists.txt b/hw/led/CMakeLists.txt index f3ab22d..56a2e3c 100644 --- a/hw/led/CMakeLists.txt +++ b/hw/led/CMakeLists.txt @@ -2,7 +2,7 @@ CMAKE_MINIMUM_REQUIRED(VERSION 2.6) PROJECT(hal-backend-device-led C) INCLUDE(FindPkgConfig) -pkg_check_modules(pkgs REQUIRED hal-backend-device-common) +pkg_check_modules(pkgs REQUIRED hal-backend-device-common libsyscommon) FOREACH(flag ${pkgs_CFLAGS}) SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} ${flag}") |