abstractsqlstorage.cpp
basichandler.cpp
core.cpp
+ corealiasmanager.cpp
corebacklogmanager.cpp
corebufferviewconfig.cpp
corebufferviewmanager.cpp
+ corecoreinfo.cpp
+ coreirclisthelper.cpp
+ corenetwork.cpp
coresession.cpp
coresettings.cpp
coreusersettings.cpp
abstractsqlstorage.h
basichandler.h
core.h
+ corealiasmanager.h
corebacklogmanager.h
corebufferviewconfig.h
corebufferviewmanager.h
+ corecoreinfo.h
+ coreirclisthelper.h
+ corenetwork.h
coresession.h
ctcphandler.h
ircserverhandler.h
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...
-find_package(OpenSSL)
-
-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})