For haltest, it cannot run by itself because it is not able to resolve
sys_get_int() symbol of libsyscommon. Therefore, provide ldflag to
locate libsyscommon.so
Change-Id: I5351662241a66c960bcb914e141ae331097e80b7
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
(cherry picked from commit
46f444e2bcd7253b5dd708ccce1e46f2b7f80a42)
SET(PREFIX ${CMAKE_INSTALL_PREFIX})
INCLUDE(FindPkgConfig)
-pkg_check_modules(hal-backend-device-display_pkgs REQUIRED hal-backend-device-common)
+pkg_check_modules(hal-backend-device-display_pkgs REQUIRED hal-backend-device-common libsyscommon)
FOREACH(flag ${display_pkgs_CFLAGS})
SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} ${flag}")