/[pcsx2_0.9.7]/trunk/cmake/FindSparseHash.cmake
ViewVC logotype

Annotation of /trunk/cmake/FindSparseHash.cmake

Parent Directory Parent Directory | Revision Log Revision Log


Revision 62 - (hide annotations) (download)
Tue Sep 7 11:08:22 2010 UTC (9 years, 11 months ago) by william
File size: 604 byte(s)
Auto Commited Import of: pcsx2-0.9.7-r3738-debug in ./trunk
1 william 62 # Try to find SparseHash
2     # Once done, this will define
3     #
4     # SPARSEHASH_FOUND - system has SparseHash
5     # SPARSEHASH_INCLUDE_DIR - the SparseHash include directories
6    
7     if(SPARSEHASH_INCLUDE_DIR)
8     set(SPARSEHASH_FIND_QUIETLY TRUE)
9     endif(SPARSEHASH_INCLUDE_DIR)
10    
11     find_path(SPARSEHASH_INCLUDE_DIR google/sparsehash/sparsehashtable.h)
12    
13     # handle the QUIETLY and REQUIRED arguments and set SPARSEHASH_FOUND to TRUE if
14     # all listed variables are TRUE
15     include(FindPackageHandleStandardArgs)
16     find_package_handle_standard_args(SparseHash DEFAULT_MSG SPARSEHASH_INCLUDE_DIR)
17    
18     mark_as_advanced(SPARSEHASH_INCLUDE_DIR)

  ViewVC Help
Powered by ViewVC 1.1.22