From 0aa4977940a9eaa6089c1c5f7bcf1fcc035c8a51 Mon Sep 17 00:00:00 2001 From: "Andreas.Fink85" 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 git-svn-id: http://tint2.googlecode.com/svn/trunk@500 121b4492-b84c-0410-8b4c-0d4edfb3f3cc --- 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 )