Link libase against libdl.

Fixes #4994
This commit is contained in:
Gunnar Beutner 2013-11-04 09:38:13 +01:00
parent 6eae4508aa
commit 22f0f388a7
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ add_library(base SHARED
unixsocket.cpp utility.cpp value.cpp workqueue.cpp zlibstream.cpp unixsocket.cpp utility.cpp value.cpp workqueue.cpp zlibstream.cpp
) )
target_link_libraries(base ${Boost_LIBRARIES} ${OPENSSL_LIBRARIES} cJSON mmatch) target_link_libraries(base ${CMAKE_DL_LIBS} ${Boost_LIBRARIES} ${OPENSSL_LIBRARIES} cJSON mmatch)
include_directories(${icinga2_SOURCE_DIR}/third-party/cJSON) include_directories(${icinga2_SOURCE_DIR}/third-party/cJSON)
link_directories(${icinga2_BINARY_DIR}/third-party/cJSON) link_directories(${icinga2_BINARY_DIR}/third-party/cJSON)