X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcore%2FCMakeLists.txt;h=ef5e09f156df9a5bb370c4f93e5140228f479853;hp=294fb4c93a30e200c29c1e0ef6f4567598d9f28f;hb=e0014404a0bade964151fb589a568ad40ec25992;hpb=d226ad424a16011a5751e80b853de7bc0b2e0674 diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt index 294fb4c9..ef5e09f1 100644 --- a/src/core/CMakeLists.txt +++ b/src/core/CMakeLists.txt @@ -13,6 +13,8 @@ set(SOURCES corebacklogmanager.cpp corebufferviewconfig.cpp corebufferviewmanager.cpp + coreirclisthelper.cpp + corenetwork.cpp coresession.cpp coresettings.cpp coreusersettings.cpp @@ -31,6 +33,8 @@ set(MOC_HDRS corebacklogmanager.h corebufferviewconfig.h corebufferviewmanager.h + coreirclisthelper.h + corenetwork.h coresession.h ctcphandler.h ircserverhandler.h @@ -44,13 +48,13 @@ set(HEADERS coresettings.h coreusersettings.h) -# QT_DEFINITIONS actually does not work, stuff gets included always. -# Funny enough that does not seem to be harmful, but we should still find a way to figure out -# if we have openssl in Qt... -if(OPENSSL_FOUND AND NOT QT_DEFINITIONS MATCHES "-DQT_NO_OPENSSL") +message(${QT_DEFINITIONS}) +if(OPENSSL_FOUND AND NOT QT_DEFINITIONS MATCHES "QT_NO_OPENSSL") + message("found") set(SOURCES ${SOURCES} sslserver.cpp) set(MOC_HDRS ${MOC_HDRS} sslserver.h) -endif(OPENSSL_FOUND AND NOT QT_DEFINITIONS MATCHES "-DQT_NO_OPENSSL") + include_directories(${OPENSSL_INCLUDE_DIR}) +endif(OPENSSL_FOUND AND NOT QT_DEFINITIONS MATCHES "QT_NO_OPENSSL") QT4_WRAP_CPP(MOC ${MOC_HDRS})