diff --git a/CMakeLists.txt b/CMakeLists.txt index 6cc308a9..17700f7a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -252,6 +252,12 @@ add_feature_info(ntpdate_or_rdate "Set date and time automatically" ) +find_program(EJECT_EXECUTABLE NAMES eject cdcontrol cdio) +add_feature_info(eject + EJECT_EXECUTABLE + "Eject CD and DVD devices" +) + include(ConfigureChecks.cmake) configure_file(config-unix.h.cmake ${CMAKE_BINARY_DIR}/config-unix.h ) configure_file(config-X11.h.cmake ${CMAKE_BINARY_DIR}/config-X11.h )