X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Ftint2conf%2FCMakeLists.txt;h=5526c7d5e7626fc830a53e380c2cc7a52fd1bc6c;hb=b0daed8dd52ebaa40fa993e5b9f23c823937c120;hp=76f8069fe6ab4b640853e8e80f74ee59cfd2d78b;hpb=055e4228a91f9957771e44cbdc540f20b2c3aa17;p=chaz%2Ftint2 diff --git a/src/tint2conf/CMakeLists.txt b/src/tint2conf/CMakeLists.txt index 76f8069..5526c7d 100644 --- a/src/tint2conf/CMakeLists.txt +++ b/src/tint2conf/CMakeLists.txt @@ -20,6 +20,7 @@ include_directories( ../util set(SOURCES ../util/common.c main.c properties.c + properties_rw.c theme_view.c ) link_directories( ${X11_T2C_LIBRARY_DIRS} ${GLIB2_LIBRARY_DIRS} @@ -45,6 +46,6 @@ set_target_properties( tint2conf PROPERTIES LINK_FLAGS "-pthread" ) install( TARGETS tint2conf DESTINATION bin ) install( PROGRAMS tintwizard.py DESTINATION bin ) -install( FILES taskbar.svg DESTINATION share/icons/hicolor/scalable/apps ) -install( FILES tint2conf.desktop DESTINATION share/applications ) +install( FILES taskbar.svg DESTINATION ${DATADIR}/icons/hicolor/scalable/apps ) +install( FILES tint2conf.desktop DESTINATION ${DATADIR}/applications ) install( CODE "execute_process(COMMAND gtk-update-icon-cache -f -t ${DATADIR}/icons/hicolor WORKING_DIRECTORY ${CMAKE_INSTALL_PREFIX})" )