Explicit dependency on gcc 4.9 or higher
[src/app-framework-binder.git] / src / CMakeLists.txt
index af4f10c..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)
 
@@ -32,6 +35,7 @@ INCLUDE_DIRECTORIES(
 ADD_LIBRARY(afb-lib STATIC
        afb-api-dbus.c
        afb-api-so.c
+       afb-api-ws.c
        afb-apis.c
        afb-common.c
        afb-context.c
@@ -49,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