1
0
Fork 0
mirror of https://github.com/hermitcore/libhermit.git synced 2025-03-30 00:00:15 +01:00

set also pthread also by compiling all multi-threaded apps

This commit is contained in:
Stefan Lankes 2017-05-20 00:12:40 +02:00
parent 815743944e
commit 46a7dc54cd

View file

@ -11,6 +11,7 @@ add_executable(pi pi.go)
add_executable(test-malloc test-malloc.c)
add_executable(test-malloc-mt test-malloc-mt.c)
target_compile_options(test-malloc-mt PRIVATE -pthread)
target_link_libraries(test-malloc-mt pthread)
add_executable(server server.go)
@ -20,9 +21,11 @@ add_executable(RCCE_minimum RCCE_minimum.c)
target_link_libraries(RCCE_minimum ircce)
add_executable(thr_hello thr_hello.c)
target_compile_options(thr_hello PRIVATE -pthread)
target_link_libraries(thr_hello pthread)
add_executable(signals signals.c)
target_compile_options(signals PRIVATE -pthread)
target_link_libraries(signals pthread)
# deployment