Link pthread into binary.
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
tastytea 2019-08-08 17:42:23 +02:00
parent 14ec7638e8
commit cc4bc18062
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07

View File

@ -13,7 +13,7 @@ target_include_directories(${PROJECT_NAME}-cli
PRIVATE "${PROJECT_BINARY_DIR}" "${CMAKE_CURRENT_SOURCE_DIR}")
target_link_libraries(${PROJECT_NAME}-cli
PRIVATE ${PROJECT_NAME})
PRIVATE ${PROJECT_NAME} pthread)
# If no Poco*Config.cmake recipes are found, look for headers in standard dirs.
if(PocoUtil_FOUND)