This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Feb 23rd, 2011  |  syntax: None  |  size: 0.47 KB  |  views: 36  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  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)
clone this paste RAW Paste Data