X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcore%2FCMakeLists.txt;h=2332d8c4f8cffd0dd284b3e6dff5012e0c48ff37;hb=f9116672c22abbb19817eb2ff7d93272927515f7;hp=d6f467f6dec3e75e69506cee1b792d8280534785;hpb=bc544f569faedea50c7715844a2261872796c683;p=quassel.git diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt index d6f467f6..2332d8c4 100644 --- a/src/core/CMakeLists.txt +++ b/src/core/CMakeLists.txt @@ -45,7 +45,7 @@ set(LIBS ) if(HAVE_SSL) set(SOURCES ${SOURCES} sslserver.cpp) include_directories(${OPENSSL_INCLUDE_DIR}) -endif(HAVE_SSL) +endif() if (QCA2_FOUND) add_definitions(-DHAVE_QCA2) @@ -69,8 +69,4 @@ 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})