-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 -pthread" )
+set_target_properties( tint2conf PROPERTIES LINK_FLAGS "-pthread" )