X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcore%2FCMakeLists.txt;h=c80336cc20ab1d614c7e129de9caf9d517c6a6ef;hb=a33e42aee121185f479667b2104a15fc2033762e;hp=294fb4c93a30e200c29c1e0ef6f4567598d9f28f;hpb=d226ad424a16011a5751e80b853de7bc0b2e0674;p=quassel.git diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt index 294fb4c9..c80336cc 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,11 @@ 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") +if(OPENSSL_FOUND AND NOT QT_DEFINITIONS MATCHES "QT_NO_OPENSSL") 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})