--- core/src/stored/CMakeLists.txt.orig 2019-02-13 15:25:55.000000000 +0100 +++ core/src/stored/CMakeLists.txt 2019-05-10 12:32:01.023430000 +0200 @@ -202,6 +202,7 @@ add_executable(bextract ${BEXTRACTSRS}) target_link_libraries(bextract bareossd bareosfind bareos + ${PTHREAD_LIBRARIES} ) add_executable(bscan ${BSCANSRCS}) @@ -212,6 +213,7 @@ add_executable(btape ${BTAPESRCS}) target_link_libraries(btape bareossd bareos + ${PTHREAD_LIBRARIES} ) add_executable(bcopy ${BCOPYSRCS}) @@ -219,6 +221,7 @@ target_link_libraries(bcopy bareossd bareos + ${PTHREAD_LIBRARIES} ) INSTALL(TARGETS bareossd DESTINATION ${libdir})