Remove hardcoded path for multiuser support
[platform/core/system/sync-agent.git] / src / fw-plugins / common-public / vcalendar / CMakeLists.txt
1
2 #############################################
3 #
4 # Step 1. Set Variable and Build Dependency
5 #
6
7 # set plguin name
8 SET(PLUGIN_NAME "dc-vcalendar")
9
10 # set a name for the entire project
11 PROJECT(plugin-${PLUGIN_NAME})
12
13 # checks for build dependency modules : a pkg-config module for CMake
14 INCLUDE(FindPkgConfig)
15 pkg_check_modules(${PLUGIN_NAME} REQUIRED
16 #                                       calendar
17                                         calendar-service2
18                                         glib-2.0
19                                         icu-i18n
20                                         dlog
21                                         libtzplatform-config)
22
23 #############################################
24 #
25 # Step 2. Set Compile Environment
26 #
27
28 # set extra cflags from build dependency
29 SET(PLUGIN_CFLAGS "${dc-vcalendar_CFLAGS}")
30
31 #############################################
32 #
33 # Step 3. Set Link Environment
34 #
35
36 # link a target to given libraries from pkg-config.
37 SET(PLUGIN_LDFLAGS "${dc-vcalendar_LDFLAGS}")
38
39 #############################################
40 #
41 # Step 4. Install packages
42 #
43
44 include(${CMAKE_CURRENT_SOURCE_DIR}/../../CMakeLists.sub)