diff options
author | José Bollo <jose.bollo@iot.bzh> | 2016-10-07 14:30:00 +0200 |
---|---|---|
committer | José Bollo <jose.bollo@iot.bzh> | 2016-10-07 14:30:00 +0200 |
commit | 1d5157a6c68a790f7a50811f4a3b48b29ee82f58 (patch) | |
tree | 17bd56a11a5b75966cf1ccb3d646be8c3a973b68 | |
parent | cfb98e8c4c23dd65d75e7670ea146e9419cd57f6 (diff) |
Explicit dependency on gcc 4.9 or higher
Needed for _Thread_local keyword
Change-Id: Ia68b2d25fd747b87d95a94ac383c0107b276cf2f
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
-rw-r--r-- | src/CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
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) |