Fixed bluetooth CMake defs
This commit is contained in:
@@ -240,8 +240,12 @@ endif()
|
||||
|
||||
if(BLUETOOTH)
|
||||
add_definitions(-DBLUETOOTH)
|
||||
set(TARGET_SRC ${TARGET_SRC} ../common/arm/stm32/bluetooth_driver.cpp)
|
||||
set(SRC ${SRC} bluetooth.cpp)
|
||||
set(FIRMWARE_SRC
|
||||
${FIRMWARE_SRC}
|
||||
targets/common/arm/stm32/bluetooth_driver.cpp)
|
||||
set(SRC
|
||||
${SRC}
|
||||
bluetooth.cpp)
|
||||
add_definitions(-DHARDWARE_TRAINER_BLUETOOTH)
|
||||
endif()
|
||||
|
||||
|
||||
@@ -457,8 +457,8 @@ endif()
|
||||
|
||||
if(BLUETOOTH)
|
||||
add_definitions(-DBLUETOOTH)
|
||||
set(FIRMWARE_TARGET_SRC
|
||||
${FIRMWARE_TARGET_SRC}
|
||||
set(FIRMWARE_SRC
|
||||
${FIRMWARE_SRC}
|
||||
targets/common/arm/stm32/bluetooth_driver.cpp)
|
||||
set(SRC
|
||||
${SRC}
|
||||
|
||||
Reference in New Issue
Block a user