summaryrefslogtreecommitdiffstats
path: root/src/libtdebluez/interfaces/CMakeLists.txt
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2023-04-24 20:57:15 +0200
committerSlávek Banko <[email protected]>2023-04-24 20:57:15 +0200
commitfadb46f704506567b42aab2eeedf8f8947dd3e40 (patch)
treeb9306966aa8cef8cccc749cb2d030785381a33a3 /src/libtdebluez/interfaces/CMakeLists.txt
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 <[email protected]>
Diffstat (limited to 'src/libtdebluez/interfaces/CMakeLists.txt')
-rw-r--r--src/libtdebluez/interfaces/CMakeLists.txt31
1 files changed, 4 insertions, 27 deletions
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
+)