target_link_libraries(my_app PRIVATE pthread)

target_link_libraries(${my_app} PRIVATE pthread)
