From e1815b576f6332dc832497af56eaa306206d4c22 Mon Sep 17 00:00:00 2001 From: Bertrand Songis Date: Tue, 15 Nov 2016 07:42:42 +0100 Subject: [PATCH] Typo, Horus build was still fetching Mike's bootloader --- radio/src/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/radio/src/CMakeLists.txt b/radio/src/CMakeLists.txt index 2b82c6bcd..928769213 100644 --- a/radio/src/CMakeLists.txt +++ b/radio/src/CMakeLists.txt @@ -374,7 +374,7 @@ if(NOT MSVC) add_subdirectory(targets/${TARGET_DIR}/bootloader) include_directories(${CMAKE_CURRENT_BINARY_DIR}/targets/${TARGET_DIR}/bootloader) set(FIRMWARE_DEPENDENCIES ${FIRMWARE_DEPENDENCIES} bootloader) - else(PCB STREQUAL SKY9X OR PCB STREQUAL 9XRPRO) + elseif(PCB STREQUAL SKY9X OR PCB STREQUAL 9XRPRO) # We fetch Mike's bootloader as it is not included inside OpenTX message(STATUS "Downloading Mike's bootloader: https://github.com/MikeBland/OpenRcBootloader/releases/download/V1.9/${BOOTLOADER}") file(DOWNLOAD https://github.com/MikeBland/OpenRcBootloader/releases/download/V1.9/${BOOTLOADER} ${CMAKE_CURRENT_BINARY_DIR}/bootloader.lbm STATUS status)