From 4c626268c0bd7f548e4c23d22fc3b7d18b2f63cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Mon, 5 Sep 2022 22:29:25 +0200 Subject: Housekeeping of CMake rules. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko (cherry picked from commit 49ce296ac51321833c363cc65176070971c5f539) --- kcm_gtk/CMakeLists.txt | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) (limited to 'kcm_gtk') diff --git a/kcm_gtk/CMakeLists.txt b/kcm_gtk/CMakeLists.txt index 87a0b4e..278bba5 100644 --- a/kcm_gtk/CMakeLists.txt +++ b/kcm_gtk/CMakeLists.txt @@ -1,25 +1,30 @@ -include( TDEMacros ) - - include_directories( +include_directories( ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_BINARY_DIR} ${TDE_INCLUDE_DIR} ${TQT_INCLUDE_DIRS} - ) +) - link_directories( +link_directories( ${TQT_LIBRARY_DIRS} - ) +) + + +##### kcm_kcmgtk (part) - tde_add_kpart( kcm_kcmgtk AUTOMOC - SOURCES kcmgtk.cpp +tde_add_kpart( kcm_kcmgtk AUTOMOC + SOURCES + kcmgtk.cpp kcmgtkwidget.ui mozillaprofile.ui emacsdetails.ui searchpaths.ui - LINK ${TQT_LIBRARIES} -ltdecore -ltdeui + LINK tdecore-shared tdeui-shared DESTINATION ${PLUGIN_INSTALL_DIR} - ) +) + + +##### other data tde_create_translated_desktop( kcmgtk.desktop ) -- cgit v1.2.1