summaryrefslogtreecommitdiffstats
path: root/src/libtdeobex/interfaces
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2023-04-24 20:57:15 +0200
committerSlávek Banko <slavek.banko@axis.cz>2023-04-24 20:57:15 +0200
commitfadb46f704506567b42aab2eeedf8f8947dd3e40 (patch)
treeb9306966aa8cef8cccc749cb2d030785381a33a3 /src/libtdeobex/interfaces
parentb06473f57454826244750cb920ded523d0bc6a94 (diff)
downloadtdebluez-fadb46f704506567b42aab2eeedf8f8947dd3e40.tar.gz
tdebluez-fadb46f704506567b42aab2eeedf8f8947dd3e40.zip
Use find_package( TQtQUI ) to detect TQtQui library.
Use tde_setup_dbus to detect and setup DBus. Cleanup unused macros. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'src/libtdeobex/interfaces')
-rw-r--r--src/libtdeobex/interfaces/CMakeLists.txt24
1 files changed, 5 insertions, 19 deletions
diff --git a/src/libtdeobex/interfaces/CMakeLists.txt b/src/libtdeobex/interfaces/CMakeLists.txt
index 9c09e24..c93ec00 100644
--- a/src/libtdeobex/interfaces/CMakeLists.txt
+++ b/src/libtdeobex/interfaces/CMakeLists.txt
@@ -16,7 +16,6 @@ include_directories(
)
set( INTROSPECTIONPATH ${CMAKE_SOURCE_DIR}/src/interfaces )
-set( DBUSXML2QT3_EXECUTABLE dbusxml2qt3 )
set( ObjectManager_HDRS objectmanagerInterface.h objectmanagerProxy.h introspectableInterface.h )
set( ObjectManager_SRCS objectmanagerInterface.cpp objectmanagerProxy.cpp introspectableInterface.cpp )
@@ -59,26 +58,13 @@ tde_add_library( obexinterfaces STATIC_PIC AUTOMOC
LINK ${DBUS_TQT_LIBRARIES}
)
-##### headers ###################################
-#file( GLOB _bin_dirs RELATIVE ${CMAKE_CURRENT_BINARY_DIR}
-#      ${CMAKE_CURRENT_BINARY_DIR}/* )
-#unset( _exclude_dirs )
-#foreach( _dir IN LISTS _bin_dirs )
-#  if( IS_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/${_dir} )
-#    list( APPEND _exclude_dirs PATTERN ${_dir} EXCLUDE )
-#  endif()
-#endforeach()
-#
-#install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
-# DESTINATION ${INCLUDE_INSTALL_DIR}/tdeobex
-# USE_SOURCE_PERMISSIONS
-# FILES_MATCHING PATTERN PATTERN "*.h"
-# ${_exclude_dirs}
-#)
+##### headers ###################################
-install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
+install(
+ DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
DESTINATION ${INCLUDE_INSTALL_DIR}/tdeobex
USE_SOURCE_PERMISSIONS
FILES_MATCHING PATTERN PATTERN "*.h"
- PATTERN "CMakeFiles" EXCLUDE )
+ PATTERN "CMakeFiles" EXCLUDE
+)