From 8de97496a707943dc39b4ca625e475746b776ba9 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Tue, 8 Oct 2024 16:48:44 +0900 Subject: [PATCH] Improve fatal error messages Signed-off-by: Michele Calgaro --- flow/gsl/ConfigureChecks.cmake | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/flow/gsl/ConfigureChecks.cmake b/flow/gsl/ConfigureChecks.cmake index 5e2c623..1bffd67 100644 --- a/flow/gsl/ConfigureChecks.cmake +++ b/flow/gsl/ConfigureChecks.cmake @@ -42,13 +42,13 @@ if( WITH_VORBIS ) else( VORBISFILE_FOUND ) - tde_message_fatal( "Ogg/Vorbis support are requested, but `libvorbisfile` not found" ) + tde_message_fatal( "Ogg/Vorbis was requested but `libvorbisfile` was not found on your system." ) endif( VORBISFILE_FOUND ) else( VORBIS_FOUND ) - tde_message_fatal( "Ogg/Vorbis support are requested, but `libvorbis` but found" ) + tde_message_fatal( "Ogg/Vorbis was requested but `libvorbis` was not found on your system." ) endif( VORBIS_FOUND ) @@ -74,7 +74,7 @@ if( WITH_MAD ) find_library( MAD_LIBRARIES NAMES mad ) find_path( MAD_INCLUDE_DIRS mad.h ) if( NOT MAD_LIBRARIES ) - tde_message_fatal( "MAD support is requested, but `libmad` not found" ) + tde_message_fatal( "MAD support was requested but `libmad` was not found on your system." ) endif( NOT MAD_LIBRARIES ) endif( MAD_FOUND )