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 $<TARGET_OBJECTS:yajl>)
+ list(APPEND base_OBJS $<TARGET_OBJECTS:yajl>)
else()
list(APPEND base_DEPS ${YAJL_LIBRARIES})
endif()
add_executable(icinga-app
$<TARGET_OBJECTS:icingaloader>
- $<TARGET_OBJECTS:mmatch>
- $<TARGET_OBJECTS:socketpair>
- $<TARGET_OBJECTS:base>
+ ${base_OBJS}
$<TARGET_OBJECTS:config>
$<TARGET_OBJECTS:remote>
$<TARGET_OBJECTS:cli>