SHARE
TWEET

Untitled

a guest Feb 23rd, 2011 37 Never
  1. if (GMP_INCLUDES AND GMP_LIBRARIES)
  2.   set(GMP_FIND_QUIETLY TRUE)
  3. endif (GMP_INCLUDES AND GMP_LIBRARIES)
  4.  
  5. find_path(GMP_INCLUDES
  6.   NAMES
  7.   gmp.h
  8.   PATHS
  9.   $ENV{GMPDIR}
  10.   ${INCLUDE_INSTALL_DIR}
  11. )
  12.  
  13. find_library(GMP_LIBRARIES gmp PATHS $ENV{GMPDIR} ${LIB_INSTALL_DIR})
  14.  
  15. include(FindPackageHandleStandardArgs)
  16. find_package_handle_standard_args(GMP DEFAULT_MSG
  17.                                   GMP_INCLUDES GMP_LIBRARIES)
  18. mark_as_advanced(GMP_INCLUDES GMP_LIBRARIES)
RAW Paste Data
Top