Change-Id: I849b3067e714885fae92fd80532bea11ded33cc6
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
SET(CMAKE_BUILD_TYPE "Release")
ENDIF("${CMAKE_BUILD_TYPE}" STREQUAL "Private")
-IF(TIZEN_MOBILE)
- ADD_DEFINITIONS(-DTIZEN_MOBILE)
-ENDIF(TIZEN_MOBILE)
-
INCLUDE(FindPkgConfig)
pkg_check_modules(${fw_name} REQUIRED ${dependents})
FOREACH(flag ${${fw_name}_CFLAGS})
export FFLAGS="$FFLAGS -DTIZEN_DEBUG_ENABLE"
%cmake -DCMAKE_BUILD_TYPE="Private" \
-%if "%{?tizen_profile_name}" == "wearable"
- -DTIZEN_WEARABLE=1 \
-%else
-%if "%{?tizen_profile_name}" == "mobile"
- -DTIZEN_MOBILE=1 \
-%endif
-%endif
%ifarch %{arm}
-DCMAKE_BUILD_TYPE="Private" -DARCH=arm \
%else