mirror of https://github.com/Icinga/icinga2.git
commit
a80b883991
|
@ -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 $<TARGET_OBJECTS:yajl>)
|
||||
list(APPEND base_OBJS $<TARGET_OBJECTS:yajl>)
|
||||
else()
|
||||
list(APPEND base_DEPS ${YAJL_LIBRARIES})
|
||||
endif()
|
||||
|
|
|
@ -65,9 +65,7 @@ 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>
|
||||
|
|
Loading…
Reference in New Issue