From: Andreas Fink Date: Mon, 14 Jun 2010 09:48:40 +0000 (+0000) Subject: *fix* use -pthread also for tint2 because we're using processes which starts new... X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=caf1ea3215aedd3efc8932349227c5c3e2d289d9;p=chaz%2Ftint2 *fix* use -pthread also for tint2 because we're using processes which starts new threads --- 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 )