diff options
author | Lars-Dominik Braun <PromyLOPh@lavabit.com> | 2010-06-11 19:36:06 +0200 |
---|---|---|
committer | Lars-Dominik Braun <PromyLOPh@lavabit.com> | 2010-06-11 19:41:55 +0200 |
commit | 8ac0b9532a34383d22b76ff7e274e32780891dc1 (patch) | |
tree | 6bbae93c881146e69997c9d3d50215689e671b4e /src/FindMad.cmake | |
parent | 2a1e81927ef6fbf0d9c5fe4b6acf907a24eda3f7 (diff) | |
download | pianobar-8ac0b9532a34383d22b76ff7e274e32780891dc1.tar.gz pianobar-8ac0b9532a34383d22b76ff7e274e32780891dc1.tar.bz2 pianobar-8ac0b9532a34383d22b76ff7e274e32780891dc1.zip |
Switching build system again
Now it's plain make.
Diffstat (limited to 'src/FindMad.cmake')
-rw-r--r-- | src/FindMad.cmake | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/src/FindMad.cmake b/src/FindMad.cmake deleted file mode 100644 index 1917cd4..0000000 --- a/src/FindMad.cmake +++ /dev/null @@ -1,35 +0,0 @@ -# MAD_INCLUDE_DIRS - where to find mad.h, etc. -# MAD_LIBRARIES - List of libraries when using libmad. -# MAD_FOUND - True if libmad found. - -# Look for the header file. -FIND_PATH(MAD_INCLUDE_DIR NAMES mad.h) -MARK_AS_ADVANCED(MAD_INCLUDE_DIR) - -# Look for the library. -FIND_LIBRARY(MAD_LIBRARY NAMES mad) -MARK_AS_ADVANCED(MAD_LIBRARY) - -# Copy the results to the output variables. -IF(MAD_INCLUDE_DIR AND MAD_LIBRARY) - SET(MAD_FOUND 1) - SET(MAD_LIBRARIES ${MAD_LIBRARY}) - SET(MAD_INCLUDE_DIRS ${MAD_INCLUDE_DIR}) -ELSE(MAD_INCLUDE_DIR AND MAD_LIBRARY) - SET(MAD_FOUND 0) - SET(MAD_LIBRARIES) - SET(MAD_INCLUDE_DIRS) -ENDIF(MAD_INCLUDE_DIR AND MAD_LIBRARY) - -# Report the results. -IF(NOT MAD_FOUND) - SET(MAD_DIR_MESSAGE - "libmad was not found. Make sure MAD_LIBRARY and MAD_INCLUDE_DIR are set.") - IF(NOT MAD_FIND_QUIETLY) - MESSAGE(STATUS "${MAD_DIR_MESSAGE}") - ELSE(NOT MAD_FIND_QUIETLY) - IF(MAD_FIND_REQUIRED) - MESSAGE(FATAL_ERROR "${MAD_DIR_MESSAGE}") - ENDIF(MAD_FIND_REQUIRED) - ENDIF(NOT MAD_FIND_QUIETLY) -ENDIF(NOT MAD_FOUND) |