You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
504 B

  1. if (ADOLC_INCLUDES AND ADOLC_LIBRARIES)
  2. set(ADOLC_FIND_QUIETLY TRUE)
  3. endif (ADOLC_INCLUDES AND ADOLC_LIBRARIES)
  4. find_path(ADOLC_INCLUDES
  5. NAMES
  6. adolc/adouble.h
  7. PATHS
  8. $ENV{ADOLCDIR}
  9. ${INCLUDE_INSTALL_DIR}
  10. )
  11. find_library(ADOLC_LIBRARIES adolc PATHS $ENV{ADOLCDIR} ${LIB_INSTALL_DIR})
  12. include(FindPackageHandleStandardArgs)
  13. find_package_handle_standard_args(ADOLC DEFAULT_MSG
  14. ADOLC_INCLUDES ADOLC_LIBRARIES)
  15. mark_as_advanced(ADOLC_INCLUDES ADOLC_LIBRARIES)