]> 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 382bbc3a43949e29372c65baf6d61f39f9a337e7..a9a8e2aa7aab454407ba28200d0c717d60ad7177 100644 (file)
@@ -28,7 +28,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.022018 seconds and 4 git commands to generate.