summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorKim Kibum <kb0929.kim@samsung.com>2012-04-29 17:01:27 +0900
committerKim Kibum <kb0929.kim@samsung.com>2012-04-29 17:01:27 +0900
commitfbf53f9405ec4f848261a95c3071968f50b9ee77 (patch)
treed083e542fcc3f54e944b3fb4fdbcb78393bd6317 /CMakeLists.txt
parent85d82a1577b2c763c12239848b39a5100f71910f (diff)
downloadlibslp-sysman-fbf53f9405ec4f848261a95c3071968f50b9ee77.tar.gz
libslp-sysman-fbf53f9405ec4f848261a95c3071968f50b9ee77.tar.bz2
libslp-sysman-fbf53f9405ec4f848261a95c3071968f50b9ee77.zip
upload tizen1.0 source
Diffstat (limited to 'CMakeLists.txt')
-rwxr-xr-x[-rw-r--r--]CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index c354123..e27ea72 100644..100755
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -16,7 +16,7 @@ SET(VERSION "${VERSION_MAJOR}.2.0")
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR})
INCLUDE(FindPkgConfig)
-pkg_check_modules(pkgs REQUIRED vconf dlog)
+pkg_check_modules(pkgs REQUIRED vconf devman_plugin dlog)
FOREACH(flag ${pkgs_CFLAGS})
SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} ${flag}")
@@ -33,7 +33,7 @@ ADD_DEFINITIONS("-DSLP_DEBUG -DENABLE_DLOG_OUT")
SET(CMAKE_LDFLAGS "-Wl,zdefs")
ADD_LIBRARY(${PROJECT_NAME} SHARED ${SRCS})
-TARGET_LINK_LIBRARIES(${PROJECT_NAME} ${pkgs_LDFLAGS})
+TARGET_LINK_LIBRARIES(${PROJECT_NAME} ${pkgs_LDFLAGS} -ldl)
SET_TARGET_PROPERTIES(${PROJECT_NAME} PROPERTIES SOVERSION ${VERSION_MAJOR})
SET_TARGET_PROPERTIES(${PROJECT_NAME} PROPERTIES VERSION ${VERSION})