Improve fatal error messages

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 8de97496a7)
r14.1.x r14.1.3
Michele Calgaro 2 months ago
parent 30779eb229
commit 0f72e47ca1
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -42,13 +42,13 @@ if( WITH_VORBIS )
else( VORBISFILE_FOUND ) 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 ) endif( VORBISFILE_FOUND )
else( VORBIS_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 ) endif( VORBIS_FOUND )
@ -74,7 +74,7 @@ if( WITH_MAD )
find_library( MAD_LIBRARIES NAMES mad ) find_library( MAD_LIBRARIES NAMES mad )
find_path( MAD_INCLUDE_DIRS mad.h ) find_path( MAD_INCLUDE_DIRS mad.h )
if( NOT MAD_LIBRARIES ) 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( NOT MAD_LIBRARIES )
endif( MAD_FOUND ) endif( MAD_FOUND )

Loading…
Cancel
Save