*add* make CMakeLists.txt equivalent to the autoconf behaviour

git-svn-id: http://tint2.googlecode.com/svn/trunk@473 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
This commit is contained in:
Andreas.Fink85
2010-06-09 09:14:56 +00:00
parent 359f13f004
commit 88d6fc8302
2 changed files with 57 additions and 22 deletions

View File

@@ -28,4 +28,8 @@ target_link_libraries( tint2conf ${X11_LIBRARIES}
${GTHREAD2_LIBRARIES}
${GTK2_LIBRARIES} )
set_target_properties(tint2conf PROPERTIES COMPILE_FLAGS -Wall)
set_target_properties(tint2conf PROPERTIES LINK_FLAGS -Wl,--as-needed)
install( TARGETS tint2conf DESTINATION bin )
install( PROGRAMS tintwizard.py DESTINATION bin )