From: Gunnar Beutner Date: Wed, 17 Jan 2018 14:08:44 +0000 (+0100) Subject: Build fix X-Git-Tag: v2.9.0~207^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=refs%2Fpull%2F5999%2Fhead;p=icinga2 Build fix --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 8d5006d29..dda5f1985 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -131,7 +131,7 @@ find_package(YAJL) if(NOT YAJL_FOUND) include_directories(${icinga2_BINARY_DIR}/third-party/yajl/include) link_directories(${icinga2_BINARY_DIR}/third-party/yajl) - list(APPEND base_SOURCES $) + list(APPEND base_OBJS $) else() list(APPEND base_DEPS ${YAJL_LIBRARIES}) endif() diff --git a/icinga-app/CMakeLists.txt b/icinga-app/CMakeLists.txt index cc209ed75..69286bdeb 100644 --- a/icinga-app/CMakeLists.txt +++ b/icinga-app/CMakeLists.txt @@ -65,9 +65,7 @@ endif() add_executable(icinga-app $ - $ - $ - $ + ${base_OBJS} $ $ $