Skip to content

Commit ef50f46

Browse files
authored
[Blueooth] Have sub components disabled by default (#22)
1 parent f156b5d commit ef50f46

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Source/bluetooth/CMakeLists.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ message("Setup ${TARGET} v${PROJECT_VERSION}")
3030
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/cmake")
3131

3232
option(BCM43XX "Select the serial driver for bluetooth modules found on RaspberryPi's" OFF)
33-
option(GATT_SUPPORT "Include GATT support" ON)
34-
option(AUDIO_SUPPORT "Include audio sink/source support" ON)
33+
option(BLUETOOTH_GATT_SUPPORT "Include GATT support" OFF)
34+
option(BLUETOOTH_AUDIO_SUPPORT "Include audio sink/source support" OFF)
3535

3636
find_package(Bluez5UtilHeaders REQUIRED)
3737
find_package(BCM_HOST QUIET)
@@ -129,10 +129,10 @@ InstallCMakeConfig(
129129
TARGETS ${TARGET}
130130
)
131131

132-
if(GATT_SUPPORT)
132+
if(BLUETOOTH_GATT_SUPPORT)
133133
add_subdirectory(gatt)
134134
endif()
135135

136-
if(AUDIO_SUPPORT)
136+
if(BLUETOOTH_AUDIO_SUPPORT)
137137
add_subdirectory(audio)
138138
endif()

0 commit comments

Comments
 (0)