X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcommon%2FCMakeLists.txt;h=0e3e2a1cb4e1dee8679537913134603e0260ed6b;hb=8a0b44b52a6a0a855a832fa7b46f3631a8684a3f;hp=e79337aa73971510f440c2ed2ce47ab48a586747;hpb=3eebe11329417e77038d860af3b6f35630f40450;p=quassel.git diff --git a/src/common/CMakeLists.txt b/src/common/CMakeLists.txt index e79337aa..0e3e2a1c 100644 --- a/src/common/CMakeLists.txt +++ b/src/common/CMakeLists.txt @@ -12,9 +12,9 @@ set(SOURCES bufferviewconfig.cpp bufferviewmanager.cpp cliparser.cpp + ctcpevent.cpp event.cpp eventmanager.cpp - eventstringifier.cpp identity.cpp ignorelistmanager.cpp ircchannel.cpp @@ -42,7 +42,6 @@ set(MOC_HDRS bufferviewmanager.h coreinfo.h eventmanager.h - eventstringifier.h identity.h ignorelistmanager.h ircchannel.h @@ -58,6 +57,7 @@ set(HEADERS ${MOC_HDRS} abstractcliparser.h bufferinfo.h cliparser.h + ctcpevent.h event.h ircevent.h networkevent.h @@ -90,9 +90,4 @@ if(APPLE) target_link_libraries(mod_common "-framework CoreServices" "-framework CoreFoundation") endif(APPLE) -if(CMAKE_HOST_SYSTEM_NAME STREQUAL "Linux") - find_library(libdl dl) - if(NOT libdl MATCHES "NOTFOUND") - target_link_libraries(mod_common ${libdl}) - endif(NOT libdl MATCHES "NOTFOUND") -endif(CMAKE_HOST_SYSTEM_NAME STREQUAL "Linux") +target_link_libraries(mod_common ${CMAKE_DL_LIBS})