We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fac345c commit 5fa916dCopy full SHA for 5fa916d
core/CMakeLists.txt
@@ -91,10 +91,12 @@ if(DEFINED _LF_CLOCK_SYNC_ON)
91
endif()
92
93
94
-# Link with thread library
+# Link with thread library, unless we are on the Zephyr platform.
95
if(NOT DEFINED LF_SINGLE_THREADED OR DEFINED LF_TRACE)
96
- find_package(Threads REQUIRED)
97
- target_link_libraries(reactor-c PUBLIC Threads::Threads)
+ if (NOT PLATFORM_ZEPHYR)
+ find_package(Threads REQUIRED)
98
+ target_link_libraries(reactor-c PUBLIC Threads::Threads)
99
+ endif()
100
101
102
# Macro for translating a command-line argument into compile definition for
0 commit comments