X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcommon%2FCMakeLists.txt;h=0e3e2a1cb4e1dee8679537913134603e0260ed6b;hp=9298b777239b6be5d66bf5b993e8eb1f5838e81f;hb=d20a7db77425fab0c44e5bf307ba0061ddaf9faf;hpb=6f0a153a674317d77233139fc50a2985af86e36e diff --git a/src/common/CMakeLists.txt b/src/common/CMakeLists.txt index 9298b777..0e3e2a1c 100644 --- a/src/common/CMakeLists.txt +++ b/src/common/CMakeLists.txt @@ -12,15 +12,21 @@ set(SOURCES bufferviewconfig.cpp bufferviewmanager.cpp cliparser.cpp + ctcpevent.cpp + event.cpp + eventmanager.cpp identity.cpp ignorelistmanager.cpp ircchannel.cpp + ircevent.cpp irclisthelper.cpp ircuser.cpp logger.cpp message.cpp + messageevent.cpp network.cpp networkconfig.cpp + networkevent.cpp quassel.cpp settings.cpp signalproxy.cpp @@ -35,6 +41,7 @@ set(MOC_HDRS bufferviewconfig.h bufferviewmanager.h coreinfo.h + eventmanager.h identity.h ignorelistmanager.h ircchannel.h @@ -50,6 +57,11 @@ set(HEADERS ${MOC_HDRS} abstractcliparser.h bufferinfo.h cliparser.h + ctcpevent.h + event.h + ircevent.h + networkevent.h + messageevent.h logger.h message.h types.h @@ -78,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})