diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake index eb8a0de2..16381307 100644 --- a/ConfigureChecks.cmake +++ b/ConfigureChecks.cmake @@ -228,7 +228,10 @@ endif( WITH_CDPARANOIA ) if( WITH_FLAC ) pkg_search_module( FLAC flac ) if( NOT FLAC_FOUND ) - tde_message_fatal( "FLAC is requested, but not found on your system" ) + find_library( FLAC_LIBRARIES NAMES FLAC FLAC++ OggFLAC OggFLAC++) + if( NOT FLAC_LIBRARIES ) + tde_message_fatal( "FLAC is requested, but not found on your system" ) + endif( ) endif( ) set( HAVE_LIBFLAC 1 ) endif( WITH_FLAC )