obexftp-0.24-enable_bluetooth.patch 421 B

1234567891011121314151617
  1. --- a/CMakeLists.txt
  2. +++ b/CMakeLists.txt
  3. @@ -52,11 +52,13 @@
  4. #
  5. # some code is only included if bluetooth is available
  6. #
  7. +if ( ENABLE_BLUETOOTH )
  8. find_package ( Bluetooth )
  9. if ( Bluetooth_FOUND )
  10. include_directories ( ${Bluetooth_INCLUDE_DIRS} )
  11. add_definitions ( -DHAVE_BLUETOOTH -DHAVE_SDP )
  12. endif ( Bluetooth_FOUND )
  13. +endif ( ENABLE_BLUETOOTH )
  14. add_subdirectory ( bfb )
  15. add_subdirectory ( multicobex )