X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcore%2FCMakeLists.txt;h=43e68402bcdae22dc8d358ac912895ff22a3b05e;hb=446caa053a85a00ef1f2ed393b5a0da761d6f2d1;hp=a9ea5ee7b61d578ebe1b7b82556cfd2a627f1d54;hpb=1d3537dca504cb52ff0434471537a96ca4432007;p=quassel.git diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt index a9ea5ee7..43e68402 100644 --- a/src/core/CMakeLists.txt +++ b/src/core/CMakeLists.txt @@ -54,6 +54,13 @@ if (QCA2_FOUND) list(APPEND LIBS ${QCA2_LIBRARIES}) endif() +if (QCA2-QT5_FOUND) + add_definitions(-DHAVE_QCA2) + include_directories(${QCA2-QT5_INCLUDE_DIR}) + list(APPEND SOURCES cipher.cpp) + list(APPEND LIBS ${QCA2-QT5_LIBRARIES}) +endif() + include_directories(${CMAKE_SOURCE_DIR}/src/common) set(CORE_RCS ${CORE_RCS} ${CMAKE_CURRENT_SOURCE_DIR}/sql.qrc)