Skip to content

Commit

Permalink
fix: added pthread dependency
Browse files Browse the repository at this point in the history
* pthread is necessary if the parts of libstdc++
  are used which rely on semaphore.h
  • Loading branch information
0xjakob committed May 31, 2023
1 parent 211036c commit 51d40af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ if(NOT ${target} STREQUAL "linux")
list(APPEND srcs
"esp_event_api.cpp"
"esp_event_cxx.cpp")
list(APPEND requires "esp_event")
list(APPEND requires "esp_event" "pthread")
endif()

idf_component_register(SRCS ${srcs}
Expand Down

0 comments on commit 51d40af

Please sign in to comment.