*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
This commit is contained in:
Andreas.Fink85 2010-06-14 09:48:40 +00:00
parent 837932f8f4
commit 0aa4977940

View file

@ -91,8 +91,8 @@ if( RT_LIBRARY )
endif( RT_LIBRARY ) endif( RT_LIBRARY )
add_dependencies( tint2 version ) add_dependencies( tint2 version )
set_target_properties( tint2 PROPERTIES COMPILE_FLAGS -Wall ) set_target_properties( tint2 PROPERTIES COMPILE_FLAGS "-Wall -pthread" )
#set_target_properties(tint2 PROPERTIES LINK_FLAGS -Wl,--as-needed) set_target_properties(tint2 PROPERTIES LINK_FLAGS "-pthread" )
install( TARGETS tint2 DESTINATION bin ) install( TARGETS tint2 DESTINATION bin )
install( FILES sample/tint2rc DESTINATION ${SYSCONFDIR}/xdg/tint2 ) install( FILES sample/tint2rc DESTINATION ${SYSCONFDIR}/xdg/tint2 )