X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcore%2FCMakeLists.txt;h=db3337ee81e1d768b602431cdfb883b9eeb3f1de;hp=1ec6797d88315cb088732a067739104870e58ade;hb=0216d4a650c02155b5bcd517567209f674d8a120;hpb=16f22647e6890d3eb8c3e94f7a0700e12fa29e44 diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt index 1ec6797d..db3337ee 100644 --- a/src/core/CMakeLists.txt +++ b/src/core/CMakeLists.txt @@ -12,7 +12,6 @@ set(SOURCES corebuffersyncer.cpp corebufferviewconfig.cpp corebufferviewmanager.cpp - corecoreinfo.cpp coredccconfig.cpp corehighlightrulemanager.cpp coreidentity.cpp @@ -31,6 +30,7 @@ set(SOURCES coreusersettings.cpp ctcpparser.cpp eventstringifier.cpp + identserver.cpp ircparser.cpp netsplit.cpp oidentdconfiggenerator.cpp @@ -51,13 +51,6 @@ if(HAVE_SSL) include_directories(${OPENSSL_INCLUDE_DIR}) endif() -if (QCA2_FOUND) - add_definitions(-DHAVE_QCA2) - include_directories(${QCA2_INCLUDE_DIR}) - list(APPEND SOURCES cipher.cpp) - list(APPEND LIBS ${QCA2_LIBRARIES}) -endif() - if (QCA2-QT5_FOUND) add_definitions(-DHAVE_QCA2) include_directories(${QCA2-QT5_INCLUDE_DIR}) @@ -75,10 +68,10 @@ endif(HAVE_LDAP) include_directories(${CMAKE_SOURCE_DIR}/src/common) set(CORE_RCS ${CORE_RCS} ${CMAKE_CURRENT_SOURCE_DIR}/sql.qrc) -qt_add_resources(SOURCES ${CORE_RCS}) +qt5_add_resources(SOURCES ${CORE_RCS}) add_library(mod_core STATIC ${SOURCES}) -qt_use_modules(mod_core Core Network Script Sql) +qt5_use_modules(mod_core Core Network Script Sql) target_link_libraries(mod_core mod_common ${LIBS})