From 12e51265e3c10f43ab2c9be9aa08b302202bced1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sun, 31 Dec 2017 11:05:21 +0100 Subject: cmake: Fix FLAC detection MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko (cherry picked from commit 24d01f69a174aa04e341aa5fc822828aa3f56cc1) --- ConfigureChecks.cmake | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ConfigureChecks.cmake') diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake index ca404b8f..6eb512e2 100644 --- a/ConfigureChecks.cmake +++ b/ConfigureChecks.cmake @@ -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 ) -- cgit v1.2.1