[my-place] Dynamic loading of VisitCateger library.
[platform/core/context/context-provider.git] / src / my-place / CMakeLists.txt
index 662895b..c336024 100644 (file)
@@ -1,11 +1,12 @@
 SET(target "${target_prefix}-my-place")
 
 SET(DEPS ${DEPS}
+       gmodule-2.0
        capi-location-manager
        capi-network-wifi
 )
 
-FILE(GLOB_RECURSE SRCS *.cpp)
+FILE(GLOB SRCS *.cpp facade/*.cpp place/*.cpp utils/*.cpp visit-detector/*.cpp)
 
 INCLUDE(FindPkgConfig)
 PKG_CHECK_MODULES(PKG_MYPLACE REQUIRED ${DEPS})
@@ -18,3 +19,5 @@ ADD_LIBRARY(${target} SHARED ${SRCS})
 TARGET_LINK_LIBRARIES(${target} ${PKG_MYPLACE_LDFLAGS} ${target_shared})
 
 INSTALL(TARGETS ${target} DESTINATION ${CMAKE_INSTALL_LIBDIR}/${target_dir})
+
+ADD_SUBDIRECTORY(visit-categer)
\ No newline at end of file