mirror of
https://github.com/libretro/pcsx2.git
synced 2024-11-28 20:00:44 +00:00
3628784ab6
* add some check on libsparsehash * print more informative message when a depency miss git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3256 96395faa-99c1-11dd-bbfe-3dabce05a288
19 lines
604 B
CMake
19 lines
604 B
CMake
# Try to find SparseHash
|
|
# Once done, this will define
|
|
#
|
|
# SPARSEHASH_FOUND - system has SparseHash
|
|
# SPARSEHASH_INCLUDE_DIR - the SparseHash include directories
|
|
|
|
if(SPARSEHASH_INCLUDE_DIR)
|
|
set(SPARSEHASH_FIND_QUIETLY TRUE)
|
|
endif(SPARSEHASH_INCLUDE_DIR)
|
|
|
|
find_path(SPARSEHASH_INCLUDE_DIR google/sparsehash/sparsehashtable.h)
|
|
|
|
# handle the QUIETLY and REQUIRED arguments and set SPARSEHASH_FOUND to TRUE if
|
|
# all listed variables are TRUE
|
|
include(FindPackageHandleStandardArgs)
|
|
find_package_handle_standard_args(SparseHash DEFAULT_MSG SPARSEHASH_INCLUDE_DIR)
|
|
|
|
mark_as_advanced(SPARSEHASH_INCLUDE_DIR)
|