forked from teamnwah/openmw-tes3coop
remove unused CMake files for Audiere, MPG123 and Sndfile
parent
72b4945128
commit
320411f5b3
@ -1,60 +0,0 @@
|
|||||||
# Locate Audiere
|
|
||||||
# This module defines
|
|
||||||
# AUDIERE_LIBRARY
|
|
||||||
# AUDIERE_FOUND, if false, do not try to link to Audiere
|
|
||||||
# AUDIERE_INCLUDE_DIR, where to find the headers
|
|
||||||
#
|
|
||||||
# Created by Nicolay Korslund for OpenMW (http://openmw.com)
|
|
||||||
#
|
|
||||||
# More or less a direct ripoff of FindOpenAL.cmake by Eric Wing.
|
|
||||||
|
|
||||||
#=============================================================================
|
|
||||||
# Copyright 2005-2009 Kitware, Inc.
|
|
||||||
#
|
|
||||||
# Distributed under the OSI-approved BSD License (the "License");
|
|
||||||
# see accompanying file Copyright.txt for details.
|
|
||||||
#
|
|
||||||
# This software is distributed WITHOUT ANY WARRANTY; without even the
|
|
||||||
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
||||||
# See the License for more information.
|
|
||||||
#=============================================================================
|
|
||||||
# (To distributed this file outside of CMake, substitute the full
|
|
||||||
# License text for the above reference.)
|
|
||||||
|
|
||||||
|
|
||||||
FIND_PATH(AUDIERE_INCLUDE_DIR audiere.h
|
|
||||||
HINTS
|
|
||||||
PATH_SUFFIXES include
|
|
||||||
PATHS
|
|
||||||
$ENV{AUDIERE_DIR}
|
|
||||||
~/Library/Frameworks
|
|
||||||
/Library/Frameworks
|
|
||||||
/usr/local
|
|
||||||
/usr
|
|
||||||
/sw # Fink
|
|
||||||
/opt/local # DarwinPorts
|
|
||||||
/opt/csw # Blastwave
|
|
||||||
/opt
|
|
||||||
)
|
|
||||||
|
|
||||||
FIND_LIBRARY(AUDIERE_LIBRARY
|
|
||||||
NAMES audiere
|
|
||||||
HINTS
|
|
||||||
PATH_SUFFIXES lib64 lib libs64 libs libs/Win32 libs/Win64
|
|
||||||
PATHS
|
|
||||||
$ENV{AUDIERE_DIR}
|
|
||||||
~/Library/Frameworks
|
|
||||||
/Library/Frameworks
|
|
||||||
/usr/local
|
|
||||||
/usr
|
|
||||||
/sw
|
|
||||||
/opt/local
|
|
||||||
/opt/csw
|
|
||||||
/opt
|
|
||||||
)
|
|
||||||
|
|
||||||
SET(AUDIERE_FOUND "NO")
|
|
||||||
IF(AUDIERE_LIBRARY AND AUDIERE_INCLUDE_DIR)
|
|
||||||
SET(AUDIERE_FOUND "YES")
|
|
||||||
ENDIF(AUDIERE_LIBRARY AND AUDIERE_INCLUDE_DIR)
|
|
||||||
|
|
@ -1,47 +0,0 @@
|
|||||||
# Locate MPG123
|
|
||||||
# This module defines
|
|
||||||
# MPG123_LIBRARY
|
|
||||||
# MPG123_FOUND, if false, do not try to link to Mpg123
|
|
||||||
# MPG123_INCLUDE_DIR, where to find the headers
|
|
||||||
#
|
|
||||||
# Created by Nicolay Korslund for OpenMW (http://openmw.com)
|
|
||||||
#
|
|
||||||
# Ripped off from other sources. In fact, this file is so generic (I
|
|
||||||
# just did a search and replace on another file) that I wonder why the
|
|
||||||
# CMake guys haven't wrapped this entire thing in a single
|
|
||||||
# function. Do we really need to repeat this stuff for every single
|
|
||||||
# library when they all work the same? </today's rant>
|
|
||||||
|
|
||||||
FIND_PATH(MPG123_INCLUDE_DIR mpg123.h
|
|
||||||
HINTS
|
|
||||||
PATHS
|
|
||||||
~/Library/Frameworks
|
|
||||||
/Library/Frameworks
|
|
||||||
/usr/local
|
|
||||||
/usr
|
|
||||||
/sw # Fink
|
|
||||||
/opt/local # DarwinPorts
|
|
||||||
/opt/csw # Blastwave
|
|
||||||
/opt
|
|
||||||
)
|
|
||||||
|
|
||||||
FIND_LIBRARY(MPG123_LIBRARY
|
|
||||||
NAMES mpg123
|
|
||||||
HINTS
|
|
||||||
PATH_SUFFIXES lib64 lib libs64 libs libs/Win32 libs/Win64
|
|
||||||
PATHS
|
|
||||||
~/Library/Frameworks
|
|
||||||
/Library/Frameworks
|
|
||||||
/usr/local
|
|
||||||
/usr
|
|
||||||
/sw
|
|
||||||
/opt/local
|
|
||||||
/opt/csw
|
|
||||||
/opt
|
|
||||||
)
|
|
||||||
|
|
||||||
SET(MPG123_FOUND "NO")
|
|
||||||
IF(MPG123_LIBRARY AND MPG123_INCLUDE_DIR)
|
|
||||||
SET(MPG123_FOUND "YES")
|
|
||||||
ENDIF(MPG123_LIBRARY AND MPG123_INCLUDE_DIR)
|
|
||||||
|
|
@ -1,41 +0,0 @@
|
|||||||
# Locate SNDFILE
|
|
||||||
# This module defines
|
|
||||||
# SNDFILE_LIBRARY
|
|
||||||
# SNDFILE_FOUND, if false, do not try to link to Sndfile
|
|
||||||
# SNDFILE_INCLUDE_DIR, where to find the headers
|
|
||||||
#
|
|
||||||
# Created by Nicolay Korslund for OpenMW (http://openmw.com)
|
|
||||||
|
|
||||||
FIND_PATH(SNDFILE_INCLUDE_DIR sndfile.h
|
|
||||||
HINTS
|
|
||||||
PATHS
|
|
||||||
~/Library/Frameworks
|
|
||||||
/Library/Frameworks
|
|
||||||
/usr/local
|
|
||||||
/usr
|
|
||||||
/sw # Fink
|
|
||||||
/opt/local # DarwinPorts
|
|
||||||
/opt/csw # Blastwave
|
|
||||||
/opt
|
|
||||||
)
|
|
||||||
|
|
||||||
FIND_LIBRARY(SNDFILE_LIBRARY
|
|
||||||
NAMES sndfile
|
|
||||||
HINTS
|
|
||||||
PATH_SUFFIXES lib64 lib libs64 libs libs/Win32 libs/Win64
|
|
||||||
PATHS
|
|
||||||
~/Library/Frameworks
|
|
||||||
/Library/Frameworks
|
|
||||||
/usr/local
|
|
||||||
/usr
|
|
||||||
/sw
|
|
||||||
/opt/local
|
|
||||||
/opt/csw
|
|
||||||
/opt
|
|
||||||
)
|
|
||||||
|
|
||||||
SET(SNDFILE_FOUND "NO")
|
|
||||||
IF(SNDFILE_LIBRARY AND SNDFILE_INCLUDE_DIR)
|
|
||||||
SET(SNDFILE_FOUND "YES")
|
|
||||||
ENDIF(SNDFILE_LIBRARY AND SNDFILE_INCLUDE_DIR)
|
|
||||||
|
|
Loading…
Reference in New Issue