projects
/
platform
/
core
/
uifw
/
dali-adaptor.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cba7d32
)
Add a GCC compiler version check in the CMakeList.txt file.
12/216812/2
author
Victor Cebollada
<v.cebollada@samsung.com>
Fri, 1 Nov 2019 11:14:53 +0000
(11:14 +0000)
committer
Victor Cebollada
<v.cebollada@samsung.com>
Fri, 1 Nov 2019 13:56:35 +0000
(13:56 +0000)
Change-Id: Ie613ac152353dfc56809e814f2fbf30634fca0dc
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
build/tizen/CMakeLists.txt
patch
|
blob
|
history
diff --git
a/build/tizen/CMakeLists.txt
b/build/tizen/CMakeLists.txt
index
8b7dff4
..
51dd86b
100644
(file)
--- a/
build/tizen/CMakeLists.txt
+++ b/
build/tizen/CMakeLists.txt
@@
-8,6
+8,13
@@
SET(PKG_NAME ${name})
SET(name "dali-adaptor")
+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()
+
# Include additional macros
INCLUDE( common.cmake )