Use new target_link_libraries
Track display_mode