aboutsummaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorMark Lobodzinski <mark@lunarg.com>2018-05-08 11:15:48 -0600
committerMark Lobodzinski <mark@lunarg.com>2018-05-11 19:56:45 -0600
commita3d786b7b7202f0d0f75ab1ccbd4715b2e0ebb54 (patch)
treeb9aba206749c0816ac7def37fdd8fc2cd82e062b /cmake
parent901e4bf083c35410bfe1aee8b593be68d5c36242 (diff)
downloadvulkan-validation-layers-a3d786b7b7202f0d0f75ab1ccbd4715b2e0ebb54.tar.gz
cmake: Remove unused cmake helper files
Change-Id: Ie42fe84603af0146ea3a054cbeafb1fdcdda4243
Diffstat (limited to 'cmake')
-rw-r--r--cmake/Copyright_cmake.txt56
-rw-r--r--cmake/FindImageMagick.cmake352
-rw-r--r--cmake/FindPCIAccess.cmake28
-rw-r--r--cmake/FindPthreadStubs.cmake14
-rw-r--r--cmake/FindValgrind.cmake22
-rw-r--r--cmake/README.txt7
6 files changed, 0 insertions, 479 deletions
diff --git a/cmake/Copyright_cmake.txt b/cmake/Copyright_cmake.txt
deleted file mode 100644
index 35f7e4b6c..000000000
--- a/cmake/Copyright_cmake.txt
+++ /dev/null
@@ -1,56 +0,0 @@
-CMake - Cross Platform Makefile Generator
-Copyright 2000-2009 Kitware, Inc., Insight Software Consortium
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions
-are met:
-
-* Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
-* Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
-* Neither the names of Kitware, Inc., the Insight Software Consortium,
- nor the names of their contributors may be used to endorse or promote
- products derived from this software without specific prior written
- permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-------------------------------------------------------------------------------
-
-The above copyright and license notice applies to distributions of
-CMake in source and binary form. Some source files contain additional
-notices of original copyright by their contributors; see each source
-for details. Third-party software packages supplied with CMake under
-compatible licenses provide their own copyright notices documented in
-corresponding subdirectories.
-
-------------------------------------------------------------------------------
-
-CMake was initially developed by Kitware with the following sponsorship:
-
- * National Library of Medicine at the National Institutes of Health
- as part of the Insight Segmentation and Registration Toolkit (ITK).
-
- * US National Labs (Los Alamos, Livermore, Sandia) ASC Parallel
- Visualization Initiative.
-
- * National Alliance for Medical Image Computing (NAMIC) is funded by the
- National Institutes of Health through the NIH Roadmap for Medical Research,
- Grant U54 EB005149.
-
- * Kitware, Inc.
diff --git a/cmake/FindImageMagick.cmake b/cmake/FindImageMagick.cmake
deleted file mode 100644
index 2d765bce4..000000000
--- a/cmake/FindImageMagick.cmake
+++ /dev/null
@@ -1,352 +0,0 @@
-# - Find the ImageMagick binary suite.
-# This module will search for a set of ImageMagick tools specified
-# as components in the FIND_PACKAGE call. Typical components include,
-# but are not limited to (future versions of ImageMagick might have
-# additional components not listed here):
-#
-# animate
-# compare
-# composite
-# conjure
-# convert
-# display
-# identify
-# import
-# mogrify
-# montage
-# stream
-#
-# If no component is specified in the FIND_PACKAGE call, then it only
-# searches for the ImageMagick executable directory. This code defines
-# the following variables:
-#
-# ImageMagick_FOUND - TRUE if all components are found.
-# ImageMagick_EXECUTABLE_DIR - Full path to executables directory.
-# ImageMagick_<component>_FOUND - TRUE if <component> is found.
-# ImageMagick_<component>_EXECUTABLE - Full path to <component> executable.
-#
-# There are also components for the following ImageMagick APIs:
-#
-# Magick++
-# MagickWand
-# MagickCore
-#
-# For these components the following variables are set:
-#
-# ImageMagick_FOUND - TRUE if all components are found.
-# ImageMagick_INCLUDE_DIRS - Full paths to all include dirs.
-# ImageMagick_LIBRARIES - Full paths to all libraries.
-# ImageMagick_<component>_FOUND - TRUE if <component> is found.
-# ImageMagick_<component>_INCLUDE_DIRS - Full path to <component> include dirs.
-# ImageMagick_<component>_LIBRARIES - Full path to <component> libraries.
-#
-# Example Usages:
-# FIND_PACKAGE(ImageMagick)
-# FIND_PACKAGE(ImageMagick COMPONENTS convert)
-# FIND_PACKAGE(ImageMagick COMPONENTS convert mogrify display)
-# FIND_PACKAGE(ImageMagick COMPONENTS Magick++)
-# FIND_PACKAGE(ImageMagick COMPONENTS Magick++ convert)
-#
-# Note that the standard FIND_PACKAGE features are supported
-# (i.e., QUIET, REQUIRED, etc.).
-
-#=============================================================================
-# Copyright 2007-2009 Kitware, Inc.
-# Copyright 2007-2008 Miguel A. Figueroa-Villanueva <miguelf at ieee dot org>
-#
-# Distributed under the OSI-approved BSD License (the "License");
-# see accompanying file Copyright_cmake.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_package(PkgConfig QUIET)
-
-function(FIND_REGISTRY)
- if (WIN32)
-
- # If a 64-bit compile, it can only appear in "[HKLM]\\software\\ImageMagick"
- if (CMAKE_CL_64)
-
- GET_FILENAME_COMPONENT(IM_BIN_PATH
- [HKEY_LOCAL_MACHINE\\SOFTWARE\\ImageMagick\\Current;BinPath]
- ABSOLUTE CACHE)
-
- else()
-
- # This is dumb, but it's the only way I've been able to get this to work. CMake has no knowledge of the systems architecture.
- # So, if we want to detect if we're running a 32-bit compile on a 64-bit OS, we need to manually check for the existence of
- # ImageMagick in the WOW6432Node of the registry first. If that fails, assume they want the 64-bit version.
- GET_FILENAME_COMPONENT(TESTING
- [HKEY_LOCAL_MACHINE\\SOFTWARE\\WOW6432Node\\ImageMagick\\Current;BinPath]
- PATH)
-
- # If the WOW6432Node reg string returns empty, assume 32-bit OS, and look in the standard reg path.
- if (TESTING STREQUAL "")
-
- GET_FILENAME_COMPONENT(IM_BIN_PATH
- [HKEY_LOCAL_MACHINE\\SOFTWARE\\ImageMagick\\Current;BinPath]
- ABSOLUTE CACHE)
-
- # Otherwise, the WOW6432Node returned a string, assume 32-bit build on 64-bit OS and use that string.
- else()
-
- GET_FILENAME_COMPONENT(IM_BIN_PATH
- [HKEY_LOCAL_MACHINE\\SOFTWARE\\WOW6432Node\\ImageMagick\\Current;BinPath]
- ABSOLUTE CACHE)
-
- endif()
-
- endif()
-
- set (IMAGEMAGIC_REG_PATH ${IM_BIN_PATH} PARENT_SCOPE)
- set (IMAGEMAGIC_REGINCLUDE_PATH ${IM_BIN_PATH}/include PARENT_SCOPE)
- set (IMAGEMAGIC_REGLIB_PATH ${IM_BIN_PATH}/lib PARENT_SCOPE)
-
- else()
-
- # No registry exists for Linux. So, just set these to empty strings.
- set (IMAGEMAGIC_REG_PATH "" PARENT_SCOPE)
- set (IMAGEMAGIC_REGINCLUDE_PATH "" PARENT_SCOPE)
- set (IMAGEMAGIC_REGLIB_PATH "" PARENT_SCOPE)
-
- endif()
-
-endfunction()
-
-
-#---------------------------------------------------------------------
-# Helper functions
-#---------------------------------------------------------------------
-FUNCTION(FIND_IMAGEMAGICK_API component path header)
- SET(ImageMagick_${component}_FOUND FALSE PARENT_SCOPE)
-
- # NOTE: My experience is that Windows uses the PATHs
- # variables, while Linux uses the PATH_SUFFIXES.
- # You can't add sub-directories to the PATH_SUFFIXES
- # because it messes up the ImageMagick Include
- # paths that are returned. Instead, you have to
- # call this FIND_IMAGEMAGICK_API for each separate
- # possible sub-folder.
- FIND_PATH(ImageMagick_${component}_INCLUDE_DIR
- NAMES ${header}
- PATHS
- ${ImageMagick_INCLUDE_DIRS}
- ${IMAGEMAGIC_REGINCLUDE_PATH}
- PATH_SUFFIXES
- ImageMagick ImageMagick-6 ImageMagick-7
- DOC "Path to the ImageMagick include dir."
- )
- FIND_PATH(ImageMagick_${component}_ARCH_INCLUDE_DIR
- NAMES magick/magick-baseconfig.h
- PATHS
- ${ImageMagick_INCLUDE_DIRS}
- ${IMAGEMAGIC_REGINCLUDE_PATH}
- PATH_SUFFIXES
- ImageMagick ImageMagick-6 ImageMagick-7
- DOC "Path to the ImageMagick arch-specific include dir."
- )
- FIND_LIBRARY(ImageMagick_${component}_LIBRARY
- NAMES ${ARGN}
- PATHS
- ${IMAGEMAGIC_REGLIB_PATH}
- DOC "Path to the ImageMagick Magick++ library."
- )
-
-
- IF (ImageMagick_${component}_INCLUDE_DIR AND ImageMagick_${component}_LIBRARY)
- SET(ImageMagick_${component}_FOUND TRUE PARENT_SCOPE)
-
- LIST(APPEND ImageMagick_INCLUDE_DIRS
- ${ImageMagick_${component}_INCLUDE_DIR}
- )
-
- # Only add the path if it's not the special string "<NONE>"
- IF(NOT path STREQUAL "<NONE>")
- LIST(APPEND ImageMagick_INCLUDE_DIRS
- ${ImageMagick_${component}_INCLUDE_DIR}/${path}
- )
- ENDIF()
-
- # Add the architecture include path if it exists
- IF (ImageMagick_${component}_ARCH_INCLUDE_DIR)
- LIST(APPEND ImageMagick_INCLUDE_DIRS
- ${ImageMagick_${component}_ARCH_INCLUDE_DIR}
- )
- ENDIF()
-
- LIST(REMOVE_DUPLICATES ImageMagick_INCLUDE_DIRS)
- SET(ImageMagick_INCLUDE_DIRS ${ImageMagick_INCLUDE_DIRS} PARENT_SCOPE)
-
- LIST(APPEND ImageMagick_LIBRARIES
- ${ImageMagick_${component}_LIBRARY}
- )
- SET(ImageMagick_LIBRARIES ${ImageMagick_LIBRARIES} PARENT_SCOPE)
- ENDIF()
-
-ENDFUNCTION(FIND_IMAGEMAGICK_API)
-
-FUNCTION(FIND_IMAGEMAGICK_EXE component)
- SET(_IMAGEMAGICK_EXECUTABLE
- ${ImageMagick_EXECUTABLE_DIR}/${component}${CMAKE_EXECUTABLE_SUFFIX})
- IF(EXISTS ${_IMAGEMAGICK_EXECUTABLE})
- SET(ImageMagick_${component}_EXECUTABLE
- ${_IMAGEMAGICK_EXECUTABLE}
- PARENT_SCOPE
- )
- SET(ImageMagick_${component}_FOUND TRUE PARENT_SCOPE)
- ELSE(EXISTS ${_IMAGEMAGICK_EXECUTABLE})
- SET(ImageMagick_${component}_FOUND FALSE PARENT_SCOPE)
- ENDIF(EXISTS ${_IMAGEMAGICK_EXECUTABLE})
-ENDFUNCTION(FIND_IMAGEMAGICK_EXE)
-
-#---------------------------------------------------------------------
-# Start Actual Work
-#---------------------------------------------------------------------
-FIND_REGISTRY()
-
-# Try to find a ImageMagick installation binary path.
-FIND_PATH(ImageMagick_EXECUTABLE_DIR
- NAMES mogrify${CMAKE_EXECUTABLE_SUFFIX}
- PATHS
- ${IMAGEMAGIC_REG_PATH}
- DOC "Path to the ImageMagick binary directory."
- NO_DEFAULT_PATH
- )
-FIND_PATH(ImageMagick_EXECUTABLE_DIR
- NAMES mogrify${CMAKE_EXECUTABLE_SUFFIX}
- )
-
-# Find each component. Search for all tools in same dir
-# <ImageMagick_EXECUTABLE_DIR>; otherwise they should be found
-# independently and not in a cohesive module such as this one.
-SET(ImageMagick_FOUND TRUE)
-FOREACH(component ${ImageMagick_FIND_COMPONENTS}
- # DEPRECATED: forced components for backward compatibility
- convert mogrify import montage composite
- )
-
- IF(component STREQUAL "Magick++")
- # unset cached variable that assumes header parameter never changes
- UNSET(ImageMagick_MagickWand_INCLUDE_DIR CACHE)
-
- # Try top folder first
- FIND_IMAGEMAGICK_API(Magick++ <NONE> Magick++.h
- Magick++ CORE_RL_Magick++_ Magick++-6.Q16 Magick++-Q16 Magick++-6.Q8 Magick++-Q8 Magick++-6.Q16HDRI Magick++-Q16HDRI Magick++-6.Q8HDRI Magick++-Q8HDRI
- )
-
- IF(NOT ImageMagick_Magick++_INCLUDE_DIR OR NOT ImageMagick_Magick++_LIBRARY)
- # Look for Magick++.h, in the magick++ sub-folder
- FIND_IMAGEMAGICK_API(Magick++ magick++ magick++/Magick++.h
- Magick++ CORE_RL_Magick++_ Magick++-6.Q16 Magick++-Q16 Magick++-6.Q8 Magick++-Q8 Magick++-6.Q16HDRI Magick++-Q16HDRI Magick++-6.Q8HDRI Magick++-Q8HDRI
- )
- ENDIF()
-
- IF(NOT ImageMagick_Magick++_INCLUDE_DIR OR NOT ImageMagick_Magick++_LIBRARY)
- # Look for Magick++.h, in the magick sub-folder
- FIND_IMAGEMAGICK_API(Magick++ magick magick/Magick++.h
- Magick++ CORE_RL_Magick++_ Magick++-6.Q16 Magick++-Q16 Magick++-6.Q8 Magick++-Q8 Magick++-6.Q16HDRI Magick++-Q16HDRI Magick++-6.Q8HDRI Magick++-Q8HDRI
- )
- ENDIF()
-
- ELSEIF(component STREQUAL "MagickWand")
- # unset cached variable that assumes header parameter never changes
- UNSET(ImageMagick_MagickWand_INCLUDE_DIR CACHE)
-
- # Try top folder first
- FIND_IMAGEMAGICK_API(MagickWand <NONE> MagickWand.h
- Wand MagickWand CORE_RL_wand_ CORE_RL_MagickWand_ MagickWand-6.Q16 MagickWand-Q16 MagickWand-6.Q8 MagickWand-Q8 MagickWand-6.Q16HDRI MagickWand-Q16HDRI MagickWand-6.Q8HDRI MagickWand-Q8HDRI
- )
-
- IF(NOT ImageMagick_MagickWand_INCLUDE_DIR OR NOT ImageMagick_MagickWand_LIBRARY)
- # Look for MagickWand.h in the wand sub-folder
- FIND_IMAGEMAGICK_API(MagickWand wand wand/MagickWand.h
- Wand MagickWand CORE_RL_wand_ CORE_RL_MagickWand_ MagickWand-6.Q16 MagickWand-Q16 MagickWand-6.Q8 MagickWand-Q8 MagickWand-6.Q16HDRI MagickWand-Q16HDRI MagickWand-6.Q8HDRI MagickWand-Q8HDRI
- )
- ENDIF()
-
- IF(NOT ImageMagick_MagickWand_INCLUDE_DIR OR NOT ImageMagick_MagickWand_LIBRARY)
- # Look for MagickWand.h he MagickWand sub-folder
- FIND_IMAGEMAGICK_API(MagickWand MagickWand MagickWand/MagickWand.h
- Wand MagickWand CORE_RL_wand_ CORE_RL_MagickWand_ MagickWand-6.Q16 MagickWand-Q16 MagickWand-6.Q8 MagickWand-Q8 MagickWand-6.Q16HDRI MagickWand-Q16HDRI MagickWand-6.Q8HDRI MagickWand-Q8HDRI
- )
- ENDIF()
-
- IF(NOT ImageMagick_MagickWand_INCLUDE_DIR OR NOT ImageMagick_MagickWand_LIBRARY)
- # Look for MagickWand.h he magick sub-folder
- FIND_IMAGEMAGICK_API(MagickWand magick magick/MagickWand.h
- Wand MagickWand CORE_RL_wand_ CORE_RL_MagickWand_ MagickWand-6.Q16 MagickWand-Q16 MagickWand-6.Q8 MagickWand-Q8 MagickWand-6.Q16HDRI MagickWand-Q16HDRI MagickWand-6.Q8HDRI MagickWand-Q8HDRI
- )
- ENDIF()
-
- ELSEIF(component STREQUAL "MagickCore")
-
- # Try top folder first
- FIND_IMAGEMAGICK_API(MagickCore <NONE> MagickCore.h
- Magick MagickCore CORE_RL_magick_ CORE_RL_MagickCore_ MagickCore-6.Q16 MagickCore-Q16 MagickCore-6.Q8 MagickCore-Q8 MagickCore-6.Q16HDRI MagickCore-Q16HDRI MagickCore-6.Q8HDRI MagickCore-Q8HDRI
- )
-
- IF(NOT ImageMagick_MagickCore_INCLUDE_DIR OR NOT ImageMagick_MagickCore_LIBRARY)
- # Look for MagickCore.h, in the MagickCore sub-folder
- FIND_IMAGEMAGICK_API(MagickCore MagickCore MagickCore/MagickCore.h
- Magick MagickCore CORE_RL_magick_ CORE_RL_MagickCore_ MagickCore-6.Q16 MagickCore-Q16 MagickCore-6.Q8 MagickCore-Q8 MagickCore-6.Q16HDRI MagickCore-Q16HDRI MagickCore-6.Q8HDRI MagickCore-Q8HDRI
- )
- ENDIF()
-
- IF(NOT ImageMagick_MagickCore_INCLUDE_DIR OR NOT ImageMagick_MagickCore_LIBRARY)
- # Look for MagickCore.h, in the magick sub-folder
- FIND_IMAGEMAGICK_API(MagickCore magick magick/MagickCore.h
- Magick MagickCore CORE_RL_magick_ CORE_RL_MagickCore_ MagickCore-6.Q16 MagickCore-Q16 MagickCore-6.Q8 MagickCore-Q8 MagickCore-6.Q16HDRI MagickCore-Q16HDRI MagickCore-6.Q8HDRI MagickCore-Q8HDRI
- )
- ENDIF()
-
- ENDIF()
-
- IF(NOT ImageMagick_${component}_FOUND)
-
- LIST(FIND ImageMagick_FIND_COMPONENTS ${component} is_requested)
- IF(is_requested GREATER -1)
- SET(ImageMagick_FOUND FALSE)
- ENDIF(is_requested GREATER -1)
-
- ENDIF(NOT ImageMagick_${component}_FOUND)
-ENDFOREACH(component)
-
-#---------------------------------------------------------------------
-# Standard Package Output
-#---------------------------------------------------------------------
-INCLUDE(FindPackageHandleStandardArgs)
-FIND_PACKAGE_HANDLE_STANDARD_ARGS(
- ImageMagick DEFAULT_MSG ImageMagick_FOUND
- )
-# Maintain consistency with all other variables.
-SET(ImageMagick_FOUND ${IMAGEMAGICK_FOUND})
-
-#---------------------------------------------------------------------
-# DEPRECATED: Setting variables for backward compatibility.
-#---------------------------------------------------------------------
-SET(IMAGEMAGICK_BINARY_PATH ${ImageMagick_EXECUTABLE_DIR}
- CACHE PATH "Path to the ImageMagick binary directory.")
-SET(IMAGEMAGICK_CONVERT_EXECUTABLE ${ImageMagick_convert_EXECUTABLE}
- CACHE FILEPATH "Path to ImageMagick's convert executable.")
-SET(IMAGEMAGICK_MOGRIFY_EXECUTABLE ${ImageMagick_mogrify_EXECUTABLE}
- CACHE FILEPATH "Path to ImageMagick's mogrify executable.")
-SET(IMAGEMAGICK_IMPORT_EXECUTABLE ${ImageMagick_import_EXECUTABLE}
- CACHE FILEPATH "Path to ImageMagick's import executable.")
-SET(IMAGEMAGICK_MONTAGE_EXECUTABLE ${ImageMagick_montage_EXECUTABLE}
- CACHE FILEPATH "Path to ImageMagick's montage executable.")
-SET(IMAGEMAGICK_COMPOSITE_EXECUTABLE ${ImageMagick_composite_EXECUTABLE}
- CACHE FILEPATH "Path to ImageMagick's composite executable.")
-
-MARK_AS_ADVANCED(
- IMAGEMAGICK_BINARY_PATH
- IMAGEMAGICK_CONVERT_EXECUTABLE
- IMAGEMAGICK_MOGRIFY_EXECUTABLE
- IMAGEMAGICK_IMPORT_EXECUTABLE
- IMAGEMAGICK_MONTAGE_EXECUTABLE
- IMAGEMAGICK_COMPOSITE_EXECUTABLE
- )
diff --git a/cmake/FindPCIAccess.cmake b/cmake/FindPCIAccess.cmake
deleted file mode 100644
index 65f7d5c14..000000000
--- a/cmake/FindPCIAccess.cmake
+++ /dev/null
@@ -1,28 +0,0 @@
-# - FindPCIAccess
-#
-# Copyright 2015 Valve Corporation
-
-find_package(PkgConfig)
-
-pkg_check_modules(PC_PCIACCESS QUIET pciaccess)
-
-find_path(PCIACCESS_INCLUDE_DIR NAMES pciaccess.h
- HINTS
- ${PC_PCIACCESS_INCLUDEDIR}
- ${PC_PCIACCESS_INCLUDE_DIRS}
- )
-
-find_library(PCIACCESS_LIBRARY NAMES pciaccess
- HINTS
- ${PC_PCIACCESS_LIBDIR}
- ${PC_PCIACCESS_LIBRARY_DIRS}
- )
-
-include(FindPackageHandleStandardArgs)
-find_package_handle_standard_args(PCIAccess DEFAULT_MSG
- PCIACCESS_INCLUDE_DIR PCIACCESS_LIBRARY)
-
-mark_as_advanced(PCIACCESS_INCLUDE_DIR PCIACCESS_LIBRARY)
-
-set(PCIACCESS_INCLUDE_DIRS ${PCIACCESS_INCLUDE_DIR})
-set(PCIACCESS_LIBRARIES ${PCIACCESS_LIBRARY})
diff --git a/cmake/FindPthreadStubs.cmake b/cmake/FindPthreadStubs.cmake
deleted file mode 100644
index 063bbe516..000000000
--- a/cmake/FindPthreadStubs.cmake
+++ /dev/null
@@ -1,14 +0,0 @@
-# - FindPthreadStubs
-#
-# Copyright (C) 2015 Valve Corporation
-
-find_package(PkgConfig)
-
-pkg_check_modules(PC_PTHREADSTUBS QUIET pthread-stubs)
-
-include(FindPackageHandleStandardArgs)
-find_package_handle_standard_args(PthreadStubs DEFAULT_MSG
- PC_PTHREADSTUBS_FOUND)
-
-set(PTHREADSTUBS_INCLUDE_DIRS "")
-set(PTHREADSTUBS_LIBRARIES "")
diff --git a/cmake/FindValgrind.cmake b/cmake/FindValgrind.cmake
deleted file mode 100644
index 5c1fb5615..000000000
--- a/cmake/FindValgrind.cmake
+++ /dev/null
@@ -1,22 +0,0 @@
-# - FindValgrind
-#
-# Copyright (C) 2015 Valve Corporation
-
-find_package(PkgConfig)
-
-pkg_check_modules(PC_VALGRIND QUIET valgrind)
-
-find_path(VALGRIND_INCLUDE_DIR NAMES valgrind.h memcheck.h
- HINTS
- ${PC_VALGRIND_INCLUDEDIR}
- ${PC_VALGRIND_INCLUDE_DIRS}
- )
-
-include(FindPackageHandleStandardArgs)
-find_package_handle_standard_args(Valgrind DEFAULT_MSG
- VALGRIND_INCLUDE_DIR)
-
-mark_as_advanced(VALGRIND_INCLUDE_DIR)
-
-set(VALGRIND_INCLUDE_DIRS ${VALGRIND_INCLUDE_DIR})
-set(VALGRIND_LIBRARIES "")
diff --git a/cmake/README.txt b/cmake/README.txt
deleted file mode 100644
index 59e6285d0..000000000
--- a/cmake/README.txt
+++ /dev/null
@@ -1,7 +0,0 @@
-The following files are copied out of CMake 2.8.
-- FindImageMagick.cmake
-
-I have also copied the Copyright.txt file out of cmake and renamed it:
-- Copyright_cmake.txt
-
-All other files are created and/or maintained by either LunarG Inc or Valve Corporation. \ No newline at end of file