arts: find libmad without pkgconfig

Thanks to "Nix" for the patch!


git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/dependencies/arts@1242782 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
v3.5.13-sru
tpearson 14 years ago
parent d82df56df5
commit 54dec355e1

@ -63,7 +63,11 @@ if( WITH_MAD )
if( MAD_FOUND )
set( GSL_HAVE_LIBMAD 1 )
else( MAD_FOUND )
message(FATAL_ERROR "\nMAD support are requested, but `libmad` not found" )
find_library( MAD_LIBRARIES NAMES mad )
find_path( MAD_INCLUDE_DIRS mad.h )
if( NOT MAD_LIBRARIES )
message(FATAL_ERROR "\nMAD support is requested, but `libmad` not found" )
endif( NOT MAD_LIBRARIES )
endif( MAD_FOUND )
endif( WITH_MAD )

Loading…
Cancel
Save