summaryrefslogtreecommitdiffstats
path: root/ConfigureChecks.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'ConfigureChecks.cmake')
-rw-r--r--ConfigureChecks.cmake5
1 files changed, 4 insertions, 1 deletions
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 )