From caf1ea3215aedd3efc8932349227c5c3e2d289d9 Mon Sep 17 00:00:00 2001 From: Andreas Fink Date: Mon, 14 Jun 2010 09:48:40 +0000 Subject: [PATCH] *fix* use -pthread also for tint2 because we're using processes which starts new threads --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 4b51708..4cfb361 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -91,8 +91,8 @@ if( RT_LIBRARY ) endif( RT_LIBRARY ) add_dependencies( tint2 version ) -set_target_properties( tint2 PROPERTIES COMPILE_FLAGS -Wall ) -#set_target_properties(tint2 PROPERTIES LINK_FLAGS -Wl,--as-needed) +set_target_properties( tint2 PROPERTIES COMPILE_FLAGS "-Wall -pthread" ) +set_target_properties(tint2 PROPERTIES LINK_FLAGS "-pthread" ) install( TARGETS tint2 DESTINATION bin ) install( FILES sample/tint2rc DESTINATION ${SYSCONFDIR}/xdg/tint2 ) -- 2.45.2