mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-12-26 18:40:54 +00:00
35 lines
877 B
CMake
35 lines
877 B
CMake
# - Locate NeL SNDDRV library
|
|
# This module defines
|
|
# NELSNDDRV_LIBRARY, the library to link against
|
|
# NELSNDDRV_FOUND, if false, do not try to link to NELSNDDRV
|
|
|
|
IF(NELSNDDRV_LIBRARY)
|
|
# in cache already
|
|
SET(NELSNDDRV_FIND_QUIETLY TRUE)
|
|
ENDIF(NELSNDDRV_LIBRARY)
|
|
|
|
FIND_LIBRARY(NELSNDDRV_LIBRARY
|
|
NAMES nelsnd_lowlevel
|
|
PATHS
|
|
$ENV{NELSNDDRV_DIR}/lib
|
|
/usr/local/lib
|
|
/usr/lib
|
|
/usr/local/X11R6/lib
|
|
/usr/X11R6/lib
|
|
/sw/lib
|
|
/opt/local/lib
|
|
/opt/csw/lib
|
|
/opt/lib
|
|
/usr/freeware/lib64
|
|
)
|
|
|
|
IF(NELSNDDRV_LIBRARY)
|
|
SET(NELSNDDRV_FOUND "YES")
|
|
IF(NOT NELSNDDRV_FIND_QUIETLY)
|
|
MESSAGE(STATUS "Found NeL Sound Lowlevel: ${NELSNDDRV_LIBRARY}")
|
|
ENDIF(NOT NELSNDDRV_FIND_QUIETLY)
|
|
ELSE(NELSNDDRV_LIBRARY)
|
|
IF(NOT NELSNDDRV_FIND_QUIETLY)
|
|
MESSAGE(STATUS "Warning: Unable to find NeL Sound Lowlevel!")
|
|
ENDIF(NOT NELSNDDRV_FIND_QUIETLY)
|
|
ENDIF(NELSNDDRV_LIBRARY)
|