From 4c97105d97ca10137327f747148a354f19f27181 Mon Sep 17 00:00:00 2001 From: King_DuckZ Date: Mon, 11 Jan 2016 12:47:59 +0000 Subject: [PATCH] Buildfix - pthread is needed when building in Release. --- src/scan/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/src/scan/CMakeLists.txt b/src/scan/CMakeLists.txt index e483d76..f76db69 100644 --- a/src/scan/CMakeLists.txt +++ b/src/scan/CMakeLists.txt @@ -16,6 +16,7 @@ target_link_libraries(${PROJECT_NAME} PRIVATE ${bare_name}-if PRIVATE ${bare_name}-common PRIVATE ${bare_name}-machinery + PRIVATE optimized pthread ) string(REPLACE "${bare_name}-" "" ACTION_NAME "${PROJECT_NAME}")