File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -93,7 +93,7 @@ endif()
9393
9494# Link with thread library, unless we are on the Zephyr platform.
9595if (NOT DEFINED LF_SINGLE_THREADED OR DEFINED LF_TRACE)
96- if (NOT (PLATFORM_ZEPHYR OR ${CMAKE_SYSTEM_NAME} STREQUAL "Rp2040" ))
96+ if (NOT (PLATFORM_ZEPHYR OR PLATFORM_RP2040 ))
9797 find_package (Threads REQUIRED)
9898 target_link_libraries (reactor-c PUBLIC Threads::Threads)
9999 endif ()
Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ elseif(${CMAKE_SYSTEM_NAME} STREQUAL "Zephyr")
2424 set (PLATFORM_ZEPHYR true )
2525elseif (${CMAKE_SYSTEM_NAME} STREQUAL "Rp2040" )
2626 list (APPEND CORE_COMPILE_DEFS PLATFORM_RP2040)
27+ set (PLATFORM_RP2040 true )
2728endif ()
2829
2930# Prepend all sources with platform
You can’t perform that action at this time.
0 commit comments