From ca8c5b041decb40326533d883cb08731981942ab Mon Sep 17 00:00:00 2001 From: Gregory Hainaut Date: Sat, 12 Apr 2014 10:25:40 +0200 Subject: [PATCH] cmake: drop sparsehash_new module It was a workaround for a buggy version of the lib. --- cmake/FindSparseHash_NEW.cmake | 18 ------------------ cmake/SearchForStuff.cmake | 1 - 2 files changed, 19 deletions(-) delete mode 100644 cmake/FindSparseHash_NEW.cmake diff --git a/cmake/FindSparseHash_NEW.cmake b/cmake/FindSparseHash_NEW.cmake deleted file mode 100644 index 070999f7d2..0000000000 --- a/cmake/FindSparseHash_NEW.cmake +++ /dev/null @@ -1,18 +0,0 @@ -# Try to find SparseHash -# Once done, this will define -# -# SPARSEHASE_NEW_FOUND - system has SparseHash -# SPARSEHASE_NEW_INCLUDE_DIR - the SparseHash include directories - -if(SPARSEHASE_NEW_INCLUDE_DIR) - set(SPARSEHASE_NEW_FIND_QUIETLY TRUE) -endif(SPARSEHASE_NEW_INCLUDE_DIR) - -find_path(SPARSEHASE_NEW_INCLUDE_DIR sparsehash/internal/densehashtable.h) - -# handle the QUIETLY and REQUIRED arguments and set SPARSEHASE_NEW_FOUND to TRUE if -# all listed variables are TRUE -include(FindPackageHandleStandardArgs) -find_package_handle_standard_args(SparseHash_new DEFAULT_MSG SPARSEHASE_NEW_INCLUDE_DIR) - -mark_as_advanced(SPARSEHASE_NEW_INCLUDE_DIR) diff --git a/cmake/SearchForStuff.cmake b/cmake/SearchForStuff.cmake index 30e56a60c5..784f3cca1b 100644 --- a/cmake/SearchForStuff.cmake +++ b/cmake/SearchForStuff.cmake @@ -62,7 +62,6 @@ include(FindLibc) include(FindPortAudio) include(FindSoundTouch) include(FindSparseHash) -include(FindSparseHash_NEW) # Note for include_directory: The order is important to avoid a mess between include file from your system and the one of pcsx2 # If you include first 3rdparty, all 3rdpary include will have a higer priority...