From fadb46f704506567b42aab2eeedf8f8947dd3e40 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Mon, 24 Apr 2023 20:57:15 +0200 Subject: Use find_package( TQtQUI ) to detect TQtQui library. Use tde_setup_dbus to detect and setup DBus. Cleanup unused macros. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- src/libtdebluez/interfaces/CMakeLists.txt | 31 ++++--------------------------- 1 file changed, 4 insertions(+), 27 deletions(-) (limited to 'src/libtdebluez/interfaces') diff --git a/src/libtdebluez/interfaces/CMakeLists.txt b/src/libtdebluez/interfaces/CMakeLists.txt index 4eba55d..15a6587 100644 --- a/src/libtdebluez/interfaces/CMakeLists.txt +++ b/src/libtdebluez/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) @@ -33,13 +32,6 @@ set( Adapter_SRCS adapter1Interface.cpp adapter1Proxy.cpp gattmanager1Interface. set( Device_HDRS device1Interface.h device1Proxy.h mediacontrol1Interface.h mediacontrol1Proxy.h) set( Device_SRCS device1Interface.cpp device1Proxy.cpp mediacontrol1Interface.cpp mediacontrol1Proxy.cpp ) -#function( install_header fileinput target ) -# install( -# FILES ${CMAKE_CURRENT_BUILD_DIR}/${fileinput} -# DESTINATION ${target} -# ) -#endfunction( ) - ##### ObjectManager ######################### add_custom_command( @@ -92,25 +84,10 @@ tde_add_library( bluezinterfaces STATIC_PIC AUTOMOC ##### install 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} -#) - -install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} +install( + DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} DESTINATION ${INCLUDE_INSTALL_DIR}/tdebluez USE_SOURCE_PERMISSIONS FILES_MATCHING PATTERN PATTERN "*.h" - PATTERN "CMakeFiles" EXCLUDE) + PATTERN "CMakeFiles" EXCLUDE +) -- cgit v1.2.1