X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=CMakeLists.txt;h=42a1c7d9c654475c3442cd3a03254705423615e0;hb=refs%2Ftags%2Faccepted%2Ftizen%2Fmobile%2F20160712.091029;hp=dba84628d600ed9528b59df3fec7eaa67cb930df;hpb=a87c6d54176b94b0bd7ae0400e48114224881071;p=platform%2Fcore%2Fuifw%2Fstt.git diff --git a/CMakeLists.txt b/CMakeLists.txt index dba8462..42a1c7d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,4 @@ -# Copyright (c) 2011-2014 Samsung Electronics Co., Ltd All Rights Reserved +# Copyright (c) 2011-2016 Samsung Electronics Co., Ltd All Rights Reserved # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -23,9 +23,10 @@ PROJECT(stt) SET(PREFIX ${CMAKE_INSTALL_PREFIX}) SET(EXEC_PREFIX "${PREFIX}") -SET(VERSION 0.2.54) +SET(VERSION 0.2.55) ADD_DEFINITIONS("-DSTT_LIBDIR=\"${LIBDIR}\"") +ADD_DEFINITIONS("-Werror") ## Include common directory ## INCLUDE_DIRECTORIES("${CMAKE_SOURCE_DIR}/common") @@ -33,10 +34,17 @@ INCLUDE_DIRECTORIES("${CMAKE_SOURCE_DIR}/include") ## Dependent packages ## INCLUDE(FindPkgConfig) +IF("${_TV_PRODUCT}" STREQUAL "TRUE") pkg_check_modules(pkgs REQUIRED - aul capi-media-audio-io capi-media-wav-player capi-system-info dbus-1 dlog ecore glib-2.0 - libtzplatform-config libxml-2.0 vconf vconf-internal-keys + aul capi-media-audio-io capi-media-wav-player capi-network-bluetooth capi-system-info cynara-client cynara-session + dbus-1 dlog ecore glib-2.0 libtzplatform-config libxml-2.0 vconf vconf-internal-keys ) +ELSE() +pkg_check_modules(pkgs REQUIRED + aul capi-media-audio-io capi-media-wav-player capi-system-info cynara-client cynara-session + dbus-1 dlog ecore glib-2.0 libtzplatform-config libxml-2.0 vconf vconf-internal-keys +) +ENDIF() pkg_check_modules(pkgs_test REQUIRED dlog ecore