1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-25 17:25:13 +03:00

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

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