File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -58,6 +58,6 @@ target_link_libraries(usermod_lvgl INTERFACE lvgl_interface)
5858if (DEFINED LV_CONF_DIR)
5959 target_include_directories (usermod INTERFACE ${LV_CONF_DIR} )
6060endif ()
61- target_compile_options (usermod INTERFACE -DLV_CONF_PATH=${LV_CONF_PATH} )
61+ target_compile_options (usermod INTERFACE -DLV_CONF_PATH=" ${LV_CONF_PATH} " )
6262target_link_libraries (usermod INTERFACE usermod_lvgl)
6363
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ function(lv_bindings)
3838 OUTPUT
3939 ${LV_PP}
4040 COMMAND
41- ${CMAKE_C_COMPILER} -E -DPYCPARSER -DLV_CONF_PATH=${LV_CONF_PATH} ${LV_COMPILE_OPTIONS} ${LV_PP_OPTIONS} "${LV_CFLAGS} " -I ${LV_BINDINGS_DIR} /pycparser/utils/fake_libc_include ${MICROPY_CPP_FLAGS} ${LV_INPUT} > ${LV_PP}
41+ ${CMAKE_C_COMPILER} -E -DPYCPARSER -DLV_CONF_PATH=" ${LV_CONF_PATH} " ${LV_COMPILE_OPTIONS} ${LV_PP_OPTIONS} "${LV_CFLAGS} " -I ${LV_BINDINGS_DIR} /pycparser/utils/fake_libc_include ${MICROPY_CPP_FLAGS} ${LV_INPUT} > ${LV_PP}
4242 DEPENDS
4343 ${LV_INPUT}
4444 ${LV_DEPENDS}
@@ -89,7 +89,7 @@ function(lv_bindings)
8989 OUTPUT
9090 ${LV_OUTPUT}
9191 COMMAND
92- ${Python3_EXECUTABLE} ${LV_BINDINGS_DIR} /gen/gen_mpy.py ${LV_GEN_OPTIONS} -DLV_CONF_PATH=${LV_CONF_PATH} -MD ${LV_MPY_METADATA} -E ${LV_PP_FILTERED} ${LV_INPUT} > ${LV_OUTPUT} || (rm -f ${LV_OUTPUT} && /bin/false )
92+ ${Python3_EXECUTABLE} ${LV_BINDINGS_DIR} /gen/gen_mpy.py ${LV_GEN_OPTIONS} -DLV_CONF_PATH=" ${LV_CONF_PATH} " -MD ${LV_MPY_METADATA} -E ${LV_PP_FILTERED} ${LV_INPUT} > ${LV_OUTPUT} || (rm -f ${LV_OUTPUT} && /bin/false )
9393 DEPENDS
9494 ${LV_BINDINGS_DIR} /gen/gen_mpy.py
9595 ${LV_PP_FILTERED}
You can’t perform that action at this time.
0 commit comments