Fix firmware compilation on Windows with Lua enabled

This commit is contained in:
Kilrah
2019-04-23 09:51:43 +02:00
parent 99c58f6874
commit 9e443a1dfc
-6
View File
@@ -21,12 +21,6 @@ set(LUA_INCLUDES
-I${RADIO_SRC_DIRECTORY}/${STM32USB_DIR}/STM32_USB_Device_Library/Class/hid/inc
)
if(WIN32 AND WIN_INCLUDE_DIRS)
foreach(include ${WIN_INCLUDE_DIRS})
set(LUA_INCLUDES "${LUA_INCLUDES} -I${include}")
endforeach()
endif()
set(LUA_INCLUDES_STM32F2
${LUA_INCLUDES}
-DSTM32F2