diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-06-19 11:46:24 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-06-19 11:46:24 +0400 |
commit | b15a2b0ffc3a8c91020f59613ed89078101eb435 (patch) | |
tree | 49a01d6cdbb8224b25cbb9031c70bd412197e637 /build_files/cmake/Modules/FindSndFile.cmake | |
parent | 145944d66f8364c82bdc83dcd57774284b775add (diff) |
cmake: added FindOpenJPEG module.
Diffstat (limited to 'build_files/cmake/Modules/FindSndFile.cmake')
-rw-r--r-- | build_files/cmake/Modules/FindSndFile.cmake | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/build_files/cmake/Modules/FindSndFile.cmake b/build_files/cmake/Modules/FindSndFile.cmake index e4c8d9f114b..5d0e1a50374 100644 --- a/build_files/cmake/Modules/FindSndFile.cmake +++ b/build_files/cmake/Modules/FindSndFile.cmake @@ -1,7 +1,7 @@ # - Find SndFile library # Find the native SndFile includes and library # This module defines -# SNDFILE_INCLUDE_DIRS, where to find ImfXdr.h, etc. Set when +# SNDFILE_INCLUDE_DIRS, where to find sndfile.h, Set when # SNDFILE_INCLUDE_DIR is found. # SNDFILE_LIBRARIES, libraries to link against to use SndFile. # SNDFILE_ROOT_DIR, The base directory to search for SndFile. @@ -44,7 +44,8 @@ FIND_PATH(SNDFILE_INCLUDE_DIR sndfile.h include ) -FIND_LIBRARY(SNDFILE_LIBRARY NAMES "sndfile" +FIND_LIBRARY(SNDFILE_LIBRARY + NAMES "sndfile" HINTS ${_sndfile_SEARCH_DIRS} PATH_SUFFIXES lib64 lib ) @@ -60,5 +61,7 @@ IF(SNDFILE_FOUND) SET(SNDFILE_INCLUDE_DIRS ${SNDFILE_INCLUDE_DIR}) ENDIF(SNDFILE_FOUND) -MARK_AS_ADVANCED(SNDFILE_INCLUDE_DIR) -MARK_AS_ADVANCED(SNDFILE_LIBRARY) +MARK_AS_ADVANCED( + SNDFILE_INCLUDE_DIR + SNDFILE_LIBRARY +) |