X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcore%2FCMakeLists.txt;h=a9ea5ee7b61d578ebe1b7b82556cfd2a627f1d54;hb=b65b9f7615165e8700a44d59b7275a55558dd45b;hp=cd2987595ba9e2ce618f846629b3635697041577;hpb=f13ee12590d103b3512ba74c0bef3b0817c4c947;p=quassel.git diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt index cd298759..a9ea5ee7 100644 --- a/src/core/CMakeLists.txt +++ b/src/core/CMakeLists.txt @@ -12,7 +12,6 @@ set(SOURCES corebufferviewconfig.cpp corebufferviewmanager.cpp corecoreinfo.cpp - coreeventmanager.cpp coreidentity.cpp coreignorelistmanager.cpp coreircchannel.cpp @@ -57,13 +56,10 @@ endif() include_directories(${CMAKE_SOURCE_DIR}/src/common) -set(CORE_RCS ${CORE_RCS} core/sql.qrc PARENT_SCOPE) +set(CORE_RCS ${CORE_RCS} ${CMAKE_CURRENT_SOURCE_DIR}/sql.qrc) +qt_add_resources(SOURCES ${CORE_RCS}) add_library(mod_core STATIC ${SOURCES}) qt_use_modules(mod_core Core Network Script Sql) -add_dependencies(mod_core mod_common) - -if (LIBS) - target_link_libraries(mod_core ${LIBS}) -endif() +target_link_libraries(mod_core mod_common ${LIBS})