X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcore%2FCMakeLists.txt;h=8ac1bddcfaa26a544bed366bb3546afaae2e321b;hb=1dbf78385e2904b3a9a3de48b85381c312c74ef8;hp=3b7e24e6501a40ff90238202b78e8c868f5f8562;hpb=513c0edce6f4c69f16e6a00c144877e8d5940096;p=quassel.git diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt index 3b7e24e6..8ac1bddc 100644 --- a/src/core/CMakeLists.txt +++ b/src/core/CMakeLists.txt @@ -21,6 +21,7 @@ set(SOURCES coreignorelistmanager.cpp coreircchannel.cpp coreirclisthelper.cpp + coreircuser.cpp corenetwork.cpp corenetworkconfig.cpp coresession.cpp @@ -50,6 +51,7 @@ set(MOC_HDRS coreignorelistmanager.h coreircchannel.h coreirclisthelper.h + coreircuser.h corenetwork.h corenetworkconfig.h coresession.h @@ -72,6 +74,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 +87,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)