X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcore%2FCMakeLists.txt;h=d6f467f6dec3e75e69506cee1b792d8280534785;hp=6a0611af5e694ea3f3931b14c280a24141953551;hb=bc544f569faedea50c7715844a2261872796c683;hpb=bd295c044a8a8d2bb4efc1e8b0607a404b0db42c diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt index 6a0611af..d6f467f6 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)