From ccd594858506b1ec8041afd50c3d894388a46305 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Thu, 7 Feb 2019 12:07:53 +0100 Subject: [PATCH] bar: cmake: not necessary when building STATIC, but we do depend on threads --- bar/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/bar/CMakeLists.txt b/bar/CMakeLists.txt index 6b5f3ae..e767043 100644 --- a/bar/CMakeLists.txt +++ b/bar/CMakeLists.txt @@ -61,4 +61,5 @@ add_library(bar STATIC EXCLUDE_FROM_ALL bar.c bar.h private.h backend.h) target_link_libraries(bar $<$:bar-xcb> $<$:bar-wayland> + ${CMAKE_THREAD_LIBS_INIT} )