]> Dogcows Code - chaz/tint2/blobdiff - src/tint2conf/CMakeLists.txt
*fix* IMLIB2_LDFLAGS not FLAGS
[chaz/tint2] / src / tint2conf / CMakeLists.txt
index c092ecc8a5cd8a75f7620dece2cbf4cf817876a0..fc15a24dce2029e851c3d22ae69952827b0012bf 100644 (file)
@@ -19,7 +19,14 @@ include_directories( ../util
 
 set(SOURCES ../util/common.c
             main.c
+            properties.c
             theme_view.c )
+link_directories( ${X11_LIBRARY_DIRS}
+                  ${GLIB2_LIBRARY_DIRS}
+                  ${GOBJECT2_LIBRARY_DIRS}
+                  ${IMLIB2_LIBRARY_DIRS}
+                  ${GTHREAD2_LIBRARY_DIRS}
+                  ${GTK2_LIBRARY_DIRS} )
 add_executable( tint2conf ${SOURCES} )
 target_link_libraries( tint2conf ${X11_LIBRARIES}
                                  ${GLIB2_LIBRARIES}
@@ -28,8 +35,11 @@ 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)
+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.020841 seconds and 4 git commands to generate.