diff options
author | Sung-jae Park <nicesj.park@samsung.com> | 2015-05-27 14:02:50 +0900 |
---|---|---|
committer | Sung-jae Park <nicesj.park@samsung.com> | 2015-05-27 15:13:58 +0900 |
commit | 782b9dc2703dce3d23de065ac38994617697cbdc (patch) | |
tree | 0f82959c8f4ce1b8015104768a1c47f2a8538455 /CMakeLists.txt | |
parent | 035e636479fdfcaab3347f9bb0b03049ba0c8fd5 (diff) | |
download | widget-service-782b9dc2703dce3d23de065ac38994617697cbdc.tar.gz widget-service-782b9dc2703dce3d23de065ac38994617697cbdc.tar.bz2 widget-service-782b9dc2703dce3d23de065ac38994617697cbdc.zip |
DRM Authentication code is moved to here.submit/tizen_mobile/20150529.103139submit/tizen_mobile/20150527.071719accepted/tizen/mobile/20150530.065408
Removed from each library, and exec module.
[model] Redwood,Kiran,B3(Wearable)
[binary_type] AP
[customer] Docomo/Orange/ATT/Open
[issue#] N/A
[problem]
[cause]
[solution]
[team] HomeTF
[request]
[horizontal_expansion]
Change-Id: If79c331f401d51193b5119a600cec16cd5b1401e
Signed-off-by: Sung-jae Park <nicesj.park@samsung.com>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 563fe05..7162f1b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -27,16 +27,23 @@ pkg_check_modules(pkgs REQUIRED icu-uc bundle capi-base-common + libdrm ) IF (X11_SUPPORT) pkg_check_modules(pkg_extra REQUIRED x11 + libdri2 + dri2proto ) +SET(REQUIRES_PKG_CONFIG "libdri2 dri2proto") ENDIF (X11_SUPPORT) IF (WAYLAND_SUPPORT) -# Nothing provided yet. +pkg_check_modules(pkg_extra REQUIRED + wayland-client +) +SET(REQUIRES_PKG_CONFIG "wayland-client") ENDIF (WAYLAND_SUPPORT) FOREACH(flag ${pkgs_CFLAGS}) @@ -77,10 +84,12 @@ IF (X11_SUPPORT) ENDIF (X11_SUPPORT) IF (WAYLAND_SUPPORT) + INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/wayland-drm/include) ADD_DEFINITIONS("-DHAVE_WAYLAND") SET(BUILD_SOURCE ${BUILD_SOURCE} src/util_wayland.c + wayland-drm/src/wayland-drm.c # This will be generated by wayland-scanner ) ENDIF (WAYLAND_SUPPORT) @@ -106,6 +115,10 @@ INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/include/widget_conf.h DESTINATION incl INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/include/widget_abi.h DESTINATION include/${PROJECT_NAME}) INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/include/widget_util.h DESTINATION include/${PROJECT_NAME}) +IF (WAYLAND_SUPPORT) +INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/wayland-drm/include/widget_wayland-drm-client-protocol.h DESTINATION include/${PROJECT_NAME}) +INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/wayland-drm/include/widget_wayland-drm-server-protocol.h DESTINATION include/${PROJECT_NAME}) +ENDIF (WAYLAND_SUPPORT) INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/LICENSE DESTINATION /usr/share/license RENAME "lib${PROJECT_NAME}") |