From 82dfed15128b79392b92479047caa428bd0be1cd Mon Sep 17 00:00:00 2001 From: uyjulian Date: Mon, 4 Aug 2014 11:16:36 -0500 Subject: [PATCH] Remove unneeded Check*.cmake --- cmake/FindAio.cmake | 25 ------------------------- cmake/FindEGL.cmake | 27 --------------------------- cmake/FindGLES2.cmake | 27 --------------------------- cmake/FindPortAudio.cmake | 27 --------------------------- cmake/FindSoundTouch.cmake | 29 ----------------------------- 5 files changed, 135 deletions(-) delete mode 100644 cmake/FindAio.cmake delete mode 100644 cmake/FindEGL.cmake delete mode 100644 cmake/FindGLES2.cmake delete mode 100644 cmake/FindPortAudio.cmake delete mode 100644 cmake/FindSoundTouch.cmake diff --git a/cmake/FindAio.cmake b/cmake/FindAio.cmake deleted file mode 100644 index c3e8f69935..0000000000 --- a/cmake/FindAio.cmake +++ /dev/null @@ -1,25 +0,0 @@ -# Try to find AIO -# Once done, this will define -# -# AIO_FOUND - system has AIO -# AIO_INCLUDE_DIR - the AIO include directories -# AIO_LIBRARIES - link these to use AIO - -if(AIO_INCLUDE_DIR AND AIO_LIBRARIES) - set(AIO_FIND_QUIETLY TRUE) -endif(AIO_INCLUDE_DIR AND AIO_LIBRARIES) - -# include dir -find_path(AIO_INCLUDE_DIR libaio.h) - -# finally the library itself -find_library(LIBAIO NAMES aio) -set(AIO_LIBRARIES ${LIBAIO}) - -# handle the QUIETLY and REQUIRED arguments and set AIO_FOUND to TRUE if -# all listed variables are TRUE -include(FindPackageHandleStandardArgs) -find_package_handle_standard_args(AIO DEFAULT_MSG AIO_LIBRARIES AIO_INCLUDE_DIR) - -mark_as_advanced(AIO_LIBRARIES AIO_INCLUDE_DIR) - diff --git a/cmake/FindEGL.cmake b/cmake/FindEGL.cmake deleted file mode 100644 index ea9bb76db1..0000000000 --- a/cmake/FindEGL.cmake +++ /dev/null @@ -1,27 +0,0 @@ -# Try to find EGL -# Once done, this will define -# -# EGL_FOUND - system has EGL -# EGL_INCLUDE_DIR - the EGL include directories -# EGL_LIBRARIES - link these to use EGL - -if(EGL_INCLUDE_DIR AND EGL_LIBRARIES) - set(EGL_FIND_QUIETLY TRUE) -endif(EGL_INCLUDE_DIR AND EGL_LIBRARIES) - -INCLUDE(CheckCXXSymbolExists) - -# include dir -find_path(EGL_INCLUDE_DIR EGL/eglext.h) - -# finally the library itself -find_library(libEGL NAMES EGL) -set(EGL_LIBRARIES ${libEGL}) - -# handle the QUIETLY and REQUIRED arguments and set EGL_FOUND to TRUE if -# all listed variables are TRUE -include(FindPackageHandleStandardArgs) -find_package_handle_standard_args(EGL DEFAULT_MSG EGL_LIBRARIES EGL_INCLUDE_DIR) - -mark_as_advanced(EGL_LIBRARIES EGL_INCLUDE_DIR) - diff --git a/cmake/FindGLES2.cmake b/cmake/FindGLES2.cmake deleted file mode 100644 index 4bfa9d8477..0000000000 --- a/cmake/FindGLES2.cmake +++ /dev/null @@ -1,27 +0,0 @@ -# Try to find GLESV2 -# Once done, this will define -# -# GLESV2_FOUND - system has GLESV2 -# GLESV2_INCLUDE_DIR - the GLESV2 include directories -# GLESV2_LIBRARIES - link these to use GLESV2 - -if(GLESV2_INCLUDE_DIR AND GLESV2_LIBRARIES) - set(GLESV2_FIND_QUIETLY TRUE) -endif(GLESV2_INCLUDE_DIR AND GLESV2_LIBRARIES) - -INCLUDE(CheckCXXSymbolExists) - -# include dir -find_path(GLESV2_INCLUDE_DIR GLES3/gl3ext.h) - -# finally the library itself -find_library(libGLESV2 NAMES GLESv2) -set(GLESV2_LIBRARIES ${libGLESV2}) - -# handle the QUIETLY and REQUIRED arguments and set GLESV2_FOUND to TRUE if -# all listed variables are TRUE -include(FindPackageHandleStandardArgs) -find_package_handle_standard_args(GLESV2 DEFAULT_MSG GLESV2_LIBRARIES GLESV2_INCLUDE_DIR) - -mark_as_advanced(GLESV2_LIBRARIES GLESV2_INCLUDE_DIR) - diff --git a/cmake/FindPortAudio.cmake b/cmake/FindPortAudio.cmake deleted file mode 100644 index 7a3ef677e4..0000000000 --- a/cmake/FindPortAudio.cmake +++ /dev/null @@ -1,27 +0,0 @@ -# Try to find PortAudio -# Once done, this will define -# -# PORTAUDIO_FOUND - system has PortAudio -# PORTAUDIO_INCLUDE_DIR - the PortAudio include directories -# PORTAUDIO_LIBRARIES - link these to use PortAudio - -if(PORTAUDIO_INCLUDE_DIR AND PORTAUDIO_LIBRARIES) - set(PORTAUDIO_FIND_QUIETLY TRUE) -endif(PORTAUDIO_INCLUDE_DIR AND PORTAUDIO_LIBRARIES) - -# Search both portaudio.h and pa_linux_alsa.h to ensure the user gets -# the include of the V2 API (V1 have only portaudio.h) -find_path(PORTAUDIO_INCLUDE_DIR NAMES portaudio.h pa_linux_alsa.h) - -# finally the library itself -find_library(libPortAudio NAMES portaudio) -# Run OK without libportaudiocpp so do not pull additional dependency -set(PORTAUDIO_LIBRARIES ${libPortAudio}) - -# handle the QUIETLY and REQUIRED arguments and set PORTAUDIO_FOUND to TRUE if -# all listed variables are TRUE -include(FindPackageHandleStandardArgs) -find_package_handle_standard_args(PortAudio DEFAULT_MSG PORTAUDIO_LIBRARIES PORTAUDIO_INCLUDE_DIR) - -mark_as_advanced(PORTAUDIO_LIBRARIES PORTAUDIO_INCLUDE_DIR) - diff --git a/cmake/FindSoundTouch.cmake b/cmake/FindSoundTouch.cmake deleted file mode 100644 index f4a4373f5c..0000000000 --- a/cmake/FindSoundTouch.cmake +++ /dev/null @@ -1,29 +0,0 @@ -# Try to find SoundTouch -# Once done, this will define -# -# SOUNDTOUCH_FOUND - system has SoundTouch -# SOUNDTOUCH_INCLUDE_DIR - the SoundTouch include directories -# SOUNDTOUCH_LIBRARIES - link these to use SoundTouch - -if(SOUNDTOUCH_INCLUDE_DIR AND SOUNDTOUCH_LIBRARIES) - set(SOUNDTOUCH_FIND_QUIETLY TRUE) -endif(SOUNDTOUCH_INCLUDE_DIR AND SOUNDTOUCH_LIBRARIES) - -# include dir -#find_path(SOUNDTOUCH_INCLUDE_DIR SoundTouch.h -# /usr/include/soundtouch -# /usr/local/include/soundtouch -# ) -find_path(SOUNDTOUCH_INCLUDE_DIR soundtouch/SoundTouch.h) - -# finally the library itself -find_library(libSoundTouch NAMES SoundTouch) -set(SOUNDTOUCH_LIBRARIES ${libSoundTouch}) - -# handle the QUIETLY and REQUIRED arguments and set SOUNDTOUCH_FOUND to TRUE if -# all listed variables are TRUE -include(FindPackageHandleStandardArgs) -find_package_handle_standard_args(SoundTouch DEFAULT_MSG SOUNDTOUCH_LIBRARIES SOUNDTOUCH_INCLUDE_DIR) - -mark_as_advanced(SOUNDTOUCH_LIBRARIES SOUNDTOUCH_INCLUDE_DIR) -