-
Notifications
You must be signed in to change notification settings - Fork 513
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rename FindSoundIO.cmake to FindSndIO.cmake
- Loading branch information
Showing
3 changed files
with
35 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# - Find SndIO includes and libraries | ||
# | ||
# SNDIO_FOUND - True if SNDIO_INCLUDE_DIR & SNDIO_LIBRARY are found | ||
# SNDIO_LIBRARIES - Set when SNDIO_LIBRARY is found | ||
# SNDIO_INCLUDE_DIRS - Set when SNDIO_INCLUDE_DIR is found | ||
# | ||
# SNDIO_INCLUDE_DIR - where to find sndio.h, etc. | ||
# SNDIO_LIBRARY - the sndio library | ||
# | ||
|
||
find_path(SNDIO_INCLUDE_DIR | ||
NAMES sndio.h | ||
DOC "The SndIO include directory" | ||
) | ||
|
||
find_library(SNDIO_LIBRARY | ||
NAMES sndio | ||
DOC "The SndIO library" | ||
) | ||
|
||
include(FindPackageHandleStandardArgs) | ||
find_package_handle_standard_args(SndIO | ||
REQUIRED_VARS SNDIO_LIBRARY SNDIO_INCLUDE_DIR | ||
) | ||
|
||
if(SNDIO_FOUND) | ||
set(SNDIO_LIBRARIES ${SNDIO_LIBRARY}) | ||
set(SNDIO_INCLUDE_DIRS ${SNDIO_INCLUDE_DIR}) | ||
endif() | ||
|
||
mark_as_advanced(SNDIO_INCLUDE_DIR SNDIO_LIBRARY) |
This file was deleted.
Oops, something went wrong.