cmake: Fix FLAC detection

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 24d01f69a1)
pull/20/head
Slávek Banko 7 years ago
parent 1cc441b6bc
commit 12e51265e3

@ -215,10 +215,11 @@ endif( WITH_CDPARANOIA )
# FLAC
if( WITH_FLAC )
pkg_search_module( FLAC vorbis )
pkg_search_module( FLAC flac )
if( NOT FLAC_FOUND )
tde_message_fatal( "FLAC is requested, but not found on your system" )
endif( )
set( HAVE_LIBFLAC 1 )
endif( WITH_FLAC )

@ -24,6 +24,7 @@
#cmakedefine HAVE_SYS_SOUNDCARD_H 1
#cmakedefine HAVE_MACHINE_SOUNDCARD_H 1
#cmakedefine HAVE_LIBFLAC 1
#cmakedefine HAVE_VORBIS 1
#cmakedefine HAVE_OGG_VORBIS 1

Loading…
Cancel
Save