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/FindFaad.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/FindFaad.cmake')
-rw-r--r-- | src/FindFaad.cmake | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/src/FindFaad.cmake b/src/FindFaad.cmake deleted file mode 100644 index 7e3fe99..0000000 --- a/src/FindFaad.cmake +++ /dev/null @@ -1,35 +0,0 @@ -# FAAD_INCLUDE_DIRS - where to find neaacdec.h, etc. -# FAAD_LIBRARIES - List of libraries when using libfaad. -# FAAD_FOUND - True if libfaad found. - -# Look for the header file. -FIND_PATH(FAAD_INCLUDE_DIR NAMES neaacdec.h) -MARK_AS_ADVANCED(FAAD_INCLUDE_DIR) - -# Look for the library. -FIND_LIBRARY(FAAD_LIBRARY NAMES faad) -MARK_AS_ADVANCED(FAAD_LIBRARY) - -# Copy the results to the output variables. -IF(FAAD_INCLUDE_DIR AND FAAD_LIBRARY) - SET(FAAD_FOUND 1) - SET(FAAD_LIBRARIES ${FAAD_LIBRARY}) - SET(FAAD_INCLUDE_DIRS ${FAAD_INCLUDE_DIR}) -ELSE(FAAD_INCLUDE_DIR AND FAAD_LIBRARY) - SET(FAAD_FOUND 0) - SET(FAAD_LIBRARIES) - SET(FAAD_INCLUDE_DIRS) -ENDIF(FAAD_INCLUDE_DIR AND FAAD_LIBRARY) - -# Report the results. -IF(NOT FAAD_FOUND) - SET(FAAD_DIR_MESSAGE - "FAAD was not found. Make sure FAAD_LIBRARY and FAAD_INCLUDE_DIR are set.") - IF(NOT FAAD_FIND_QUIETLY) - MESSAGE(STATUS "${FAAD_DIR_MESSAGE}") - ELSE(NOT FAAD_FIND_QUIETLY) - IF(FAAD_FIND_REQUIRED) - MESSAGE(FATAL_ERROR "${FAAD_DIR_MESSAGE}") - ENDIF(FAAD_FIND_REQUIRED) - ENDIF(NOT FAAD_FIND_QUIETLY) -ENDIF(NOT FAAD_FOUND) |