Fix firmware compilation on Windows with Lua enabled
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user