Fix CMake option description

This commit is contained in:
Přemysl Eric Janouch 2023-06-17 21:47:12 +02:00
parent 0c35cc301d
commit eb925f18c8
Signed by: p
GPG Key ID: A0420B94F92B9493

View File

@ -69,7 +69,7 @@ if (WITH_PULSE)
endif ()
pkg_check_modules (x11 x11 xrender xft fontconfig)
add_option (WITH_X11 "Use FFTW to enable spectrum visualisation" "${x11_FOUND}")
add_option (WITH_X11 "Build with X11 support" "${x11_FOUND}")
if (WITH_X11)
if (NOT x11_FOUND)
message (FATAL_ERROR "Some X11 libraries were not found")