~aleteoryx/muditaos

f4821943b1b9e954866456f353fb3631b4dc8fac — Marek Niepieklo 4 years ago 0f216d9
[EGD-7224] Add option to enable/disable USB MTP

Added CMake option to enable/disable USB MTP
1 files changed, 4 insertions(+), 0 deletions(-)

M cmake/modules/ProjectConfig.cmake
M cmake/modules/ProjectConfig.cmake => cmake/modules/ProjectConfig.cmake +4 -0
@@ 44,6 44,10 @@ option(WITH_DEVELOPMENT_FEATURES "Include development features" OFF)
set(DEVELOPER_SETTINGS_OPTIONS_DEFAULT ${WITH_DEVELOPMENT_FEATURES} CACHE INTERNAL "")
set(ENABLE_DEVELOPER_MODE_ENDPOINT_DEFAULT ${WITH_DEVELOPMENT_FEATURES} CACHE INTERNAL "")


# Enable/disable USB MTP
option(ENABLE_USB_MTP "Enables usage of USB MTP" ON)

# add Mudita USB Vendor/Product IDs
option(MUDITA_USB_ID "Enables using Mudita registered USB Vendor ID and Pure Phone USB Product ID" ON)