Skip to content

Commit

Permalink
build: fix platform check (#626)
Browse files Browse the repository at this point in the history
Fix platform check

`TARGET_BUILD_xxx` seems to be replaced by `EMIL_BUILD_xxx`.
  • Loading branch information
fabiangottstein authored May 13, 2024
1 parent bca9534 commit eee2f7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion osal/std_thread_osal/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ target_include_directories(osal.std_thread_osal PUBLIC
"$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>"
)

if (TARGET_BUILD_UNIX OR TARGET_BUILD_OSX)
if (EMIL_BUILD_UNIX OR EMIL_BUILD_DARWIN)
target_link_libraries(osal.std_thread_osal PUBLIC pthread)
endif()

0 comments on commit eee2f7a

Please sign in to comment.