From: José Bollo Date: Fri, 7 Oct 2016 12:30:00 +0000 (+0200) Subject: Explicit dependency on gcc 4.9 or higher X-Git-Tag: blowfish_2.0.3~1 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=1d5157a6c68a790f7a50811f4a3b48b29ee82f58;p=src%2Fapp-framework-binder.git Explicit dependency on gcc 4.9 or higher Needed for _Thread_local keyword Change-Id: Ia68b2d25fd747b87d95a94ac383c0107b276cf2f Signed-off-by: José Bollo --- diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 60f83269..9c13cc18 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1,3 +1,6 @@ +if (CMAKE_C_COMPILER_VERSION VERSION_LESS 4.9) + message(FATAL_ERROR "Require at least gcc-4.9") +endif(CMAKE_C_COMPILER_VERSION VERSION_LESS 4.9) INCLUDE(FindPkgConfig)