Explicit dependency on gcc 4.9 or higher
[src/app-framework-binder.git] / src / CMakeLists.txt
index b16c312..9c13cc1 100644 (file)
@@ -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)
 
@@ -50,6 +53,7 @@ ADD_LIBRARY(afb-lib STATIC
        afb-ws-json1.c
        afb-ws.c
        afb-wsj1.c
+       locale-root.c
        session.c
        verbose.c
        websock.c