diff --git a/kcheckpass/CMakeLists.txt b/kcheckpass/CMakeLists.txt index 6e18c977..52abbc45 100644 --- a/kcheckpass/CMakeLists.txt +++ b/kcheckpass/CMakeLists.txt @@ -26,9 +26,10 @@ endif(KDE4_ENABLE_FPIE) add_definitions(-U_REENTRANT) target_link_libraries(kcheckpass - ${KDE4_KDEFAKES_LIBS} ${UNIXAUTH_LIBRARIES} ${SOCKET_LIBRARIES} + # for kdefakes + ${KDE4_KDECORE_LIBS} ) install( diff --git a/ksysguard/ksysguardd/CMakeLists.txt b/ksysguard/ksysguardd/CMakeLists.txt index 52ff85e0..655b04d3 100644 --- a/ksysguard/ksysguardd/CMakeLists.txt +++ b/ksysguard/ksysguardd/CMakeLists.txt @@ -54,7 +54,8 @@ endif( ${CMAKE_SYSTEM_NAME} MATCHES "kFreeBSD" ) target_link_libraries(ksysguardd libksysguardd) if( NOT ${CMAKE_SYSTEM_NAME} MATCHES "Linux" OR NOT ${CMAKE_SYSTEM_NAME} MATCHES "kFreeBSD" ) - target_link_libraries(ksysguardd ${KDE4_KDEFAKES_LIBS}) + # for kdefakes + target_link_libraries(ksysguardd ${KDE4_KDECORE_LIBS}) endif( NOT ${CMAKE_SYSTEM_NAME} MATCHES "Linux" OR NOT ${CMAKE_SYSTEM_NAME} MATCHES "kFreeBSD" ) if( ${CMAKE_SYSTEM_NAME} MATCHES "NetBSD" )