X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=build%2Ftizen%2FCMakeLists.txt;h=691ed189eaa39487bfd73a2df190b47bb82148a8;hp=ad5d06cb18d24b1fe56106e9afce62a0592a106a;hb=3154e74bf1c1266032fc8b59fb23f4e4c3a7f97e;hpb=0423f5c86269520394ed98451eed04628ea03ca1;ds=sidebyside diff --git a/build/tizen/CMakeLists.txt b/build/tizen/CMakeLists.txt index ad5d06c..691ed18 100644 --- a/build/tizen/CMakeLists.txt +++ b/build/tizen/CMakeLists.txt @@ -6,6 +6,13 @@ SET(name "dali-toolkit") PROJECT(${name}) SET(PKG_NAME ${name}) +SET(GCC_COMPILER_VERSION_REQUIRED "6") +if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU") + if(CMAKE_CXX_COMPILER_VERSION VERSION_LESS GCC_COMPILER_VERSION_REQUIRED) + message(FATAL_ERROR "The GCC required compiler version is " ${GCC_COMPILER_VERSION_REQUIRED}) + endif() +endif() + FIND_PACKAGE( PkgConfig REQUIRED ) FIND_PACKAGE( Doxygen QUIET )