From f5b34166c17f365186f178014d59191a2f73955d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Andriot?= Date: Sat, 1 Oct 2016 11:14:02 +0200 Subject: [PATCH] Fix detection of libexslt/libxslt MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: François Andriot (cherry picked from commit 0377f1c1952c952fb6dde5afbc3bff940e482815) --- ConfigureChecks.cmake | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake index aabc1a9..6176f72 100644 --- a/ConfigureChecks.cmake +++ b/ConfigureChecks.cmake @@ -53,9 +53,12 @@ if( NOT LIBXML_FOUND ) tde_message_fatal( "libxml at least 2.6.0 is required, but not found on your system" ) endif( NOT LIBXML_FOUND ) -pkg_search_module( LIBXSLT libxslt>=1.0.19 ) +pkg_search_module( LIBXSLT libexslt>=0.8.0 ) if( NOT LIBXSLT_FOUND ) - tde_message_fatal( "libxslt at least 1.0.19 is required, but not found on your system" ) + pkg_search_module( LIBXSLT libxslt>=1.0.19 ) + if( NOT LIBXSLT_FOUND ) + tde_message_fatal( "libxslt at least 1.0.19 is required, but not found on your system" ) + endif( ) endif( NOT LIBXSLT_FOUND ) pkg_search_module( TAGLIB taglib )