File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 2424# THE SOFTWARE.
2525#/
2626
27- if (NOT MICROPY_DIR)
28- get_filename_component (MICROPY_DIR ${PROJECT_DIR} /../.. ABSOLUTE )
29- endif ()
27+ # Log the PROJECT_DIR value
28+ message (STATUS "PROJECT_DIR=${PROJECT_DIR} " )
29+
30+ get_filename_component (MICROPY_DIR ${CMAKE_CURRENT_LIST_DIR} /../third_party/micropython ABSOLUTE )
3031
3132# `py.cmake` for `micropy_gather_target_properties` macro usage
3233include (${MICROPY_DIR} /py/py.cmake)
@@ -284,5 +285,5 @@ if (CONFIG_IDF_TARGET_ESP32S3) # Extra compile options needed to build esp-nn AS
284285 target_compile_options (microlite INTERFACE -mlongcalls -fno-unroll-loops -Wno-unused-function)
285286endif ()
286287
287- target_link_libraries (usermod INTERFACE microlite)
288+ target_link_libraries (usermod_microlite INTERFACE microlite)
288289micropy_gather_target_properties(microlite)
You can’t perform that action at this time.
0 commit comments