X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2FCMakeLists.txt;h=9c13cc1876837ff755c14f704b6238b90f7ff5a0;hb=1d5157a6c68a790f7a50811f4a3b48b29ee82f58;hp=915da89dc8d0e68db23c2fd16f0f1f1e352269d7;hpb=7059e59cddc1c81321639875636e88895bc14309;p=src%2Fapp-framework-binder.git diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 915da89d..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) @@ -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 @@ -75,7 +80,7 @@ INSTALL(TARGETS afb-daemon ########################################### # build and install libafbwsc ########################################### -ADD_LIBRARY(afbwsc SHARED afb-ws.c afb-ws-client.c afb-wsj1.c websock.c afb-common.c) +ADD_LIBRARY(afbwsc SHARED afb-ws.c afb-ws-client.c afb-wsj1.c websock.c) SET_TARGET_PROPERTIES(afbwsc PROPERTIES VERSION ${LIBAFBWSC_VERSION} SOVERSION ${LIBAFBWSC_SOVERSION})