]> Dogcows Code - chaz/tint2/blobdiff - src/tint2conf/CMakeLists.txt
*fix* change the default location of tintwizard.py to ${CMAKE_INSTALL_PREFIX}/bin...
[chaz/tint2] / src / tint2conf / CMakeLists.txt
index e3e02e117b39a09d804ec08c9cd2ed5c3c65346d..a9a8e2aa7aab454407ba28200d0c717d60ad7177 100644 (file)
@@ -28,4 +28,11 @@ target_link_libraries( tint2conf ${X11_LIBRARIES}
                                  ${GTHREAD2_LIBRARIES}
                                  ${GTK2_LIBRARIES} )
 
+add_definitions( -DINSTALL_PREFIX=\"${CMAKE_INSTALL_PREFIX}\" )
+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 )
+install( FILES tint2conf.png tint2conf.svg DESTINATION share/pixmaps )
+install( FILES tint2conf.desktop DESTINATION share/applications )
This page took 0.019633 seconds and 4 git commands to generate.