X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcore%2FCMakeLists.txt;h=4a19828fad1d041006453d10aef6ffba16597039;hp=3b7e24e6501a40ff90238202b78e8c868f5f8562;hb=e9e9f28438f4e11995e6b444928da1c0f8487804;hpb=513c0edce6f4c69f16e6a00c144877e8d5940096 diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt index 3b7e24e6..4a19828f 100644 --- a/src/core/CMakeLists.txt +++ b/src/core/CMakeLists.txt @@ -21,9 +21,11 @@ set(SOURCES coreignorelistmanager.cpp coreircchannel.cpp coreirclisthelper.cpp + coreircuser.cpp corenetwork.cpp corenetworkconfig.cpp coresession.cpp + coresessioneventprocessor.cpp coresettings.cpp coreuserinputhandler.cpp coreusersettings.cpp @@ -50,9 +52,11 @@ set(MOC_HDRS coreignorelistmanager.h coreircchannel.h coreirclisthelper.h + coreircuser.h corenetwork.h corenetworkconfig.h coresession.h + coresessioneventprocessor.h coreuserinputhandler.h ctcphandler.h ircserverhandler.h @@ -72,6 +76,12 @@ if(HAVE_SSL) include_directories(${OPENSSL_INCLUDE_DIR}) endif(HAVE_SSL) +if(HAVE_QCA2) + set(SOURCES ${SOURCES} cipher.cpp) + set(HEADERS ${HEADERS} cipher.h) + include_directories(${QCA2_INCLUDE_DIR}) +endif(HAVE_QCA2) + qt4_wrap_cpp(MOC ${MOC_HDRS}) set(CORE_RCS ${CORE_RCS} core/sql.qrc PARENT_SCOPE) @@ -79,3 +89,7 @@ include_directories(${CMAKE_SOURCE_DIR}/src/common) add_library(mod_core STATIC ${SOURCES} ${MOC} ${HEADERS}) add_dependencies(mod_core mod_common) + +if(HAVE_QCA2) + target_link_libraries(mod_core ${QCA2_LIBRARIES}) +endif(HAVE_QCA2)