Browse Source

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
tags/v3.5.13
tpearson 8 years ago
parent
commit
54dec355e1
1 changed files with 5 additions and 1 deletions
  1. 5
    1
      flow/gsl/CMakeLists.txt

+ 5
- 1
flow/gsl/CMakeLists.txt View File

@@ -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