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()
93
93
94
94
# Link with thread library, unless we are on the Zephyr platform.
95
95
if (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 ))
97
97
find_package (Threads REQUIRED)
98
98
target_link_libraries (reactor-c PUBLIC Threads::Threads)
99
99
endif ()
Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ elseif(${CMAKE_SYSTEM_NAME} STREQUAL "Zephyr")
24
24
set (PLATFORM_ZEPHYR true )
25
25
elseif (${CMAKE_SYSTEM_NAME} STREQUAL "Rp2040" )
26
26
list (APPEND REACTORC_COMPILE_DEFS PLATFORM_RP2040)
27
+ set (PLATFORM_RP2040 true )
27
28
endif ()
28
29
29
30
# Prepend all sources with platform
You can’t perform that action at this time.
0 commit comments