]> Dogcows Code - chaz/tint2/blobdiff - src/tint2conf/CMakeLists.txt
cleanup
[chaz/tint2] / src / tint2conf / CMakeLists.txt
index 382bbc3a43949e29372c65baf6d61f39f9a337e7..815c1b71c8c04e322d4907802f4418250d418d4c 100644 (file)
@@ -19,6 +19,7 @@ include_directories( ../util
 
 set(SOURCES ../util/common.c
             main.c
+            properties.c
             theme_view.c )
 add_executable( tint2conf ${SOURCES} )
 target_link_libraries( tint2conf ${X11_LIBRARIES}
@@ -28,7 +29,8 @@ target_link_libraries( tint2conf ${X11_LIBRARIES}
                                  ${GTHREAD2_LIBRARIES}
                                  ${GTK2_LIBRARIES} )
 
-set_target_properties(tint2conf PROPERTIES COMPILE_FLAGS -Wall)
+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 )
This page took 0.022782 seconds and 4 git commands to generate.