Warning, /utilities/kcalc/cmake/modules/FindMPFR.cmake is written in an unsupported language. File is not indexed.
0001 # Try to find the MPFR libraries 0002 # MPFR_FOUND - system has MPFR lib 0003 # MPFR_INCLUDE_DIR - the MPFR include directory 0004 # MPFR_LIBRARIES - Libraries needed to use MPFR 0005 0006 # SPDX-FileCopyrightText: 2012 Evan Teran <evan.teran@gmail.com> 0007 # 0008 # Redistribution and use is allowed according to the terms of the BSD license. 0009 # For details see the accompanying COPYING-CMAKE-SCRIPTS file. 0010 0011 0012 if (MPFR_INCLUDE_DIR AND MPFR_LIBRARIES) 0013 # Already in cache, be silent 0014 set(MPFR_FIND_QUIETLY TRUE) 0015 endif (MPFR_INCLUDE_DIR AND MPFR_LIBRARIES) 0016 0017 find_path(MPFR_INCLUDE_DIR NAMES mpfr.h ) 0018 find_library(MPFR_LIBRARIES NAMES mpfr libmpfr) 0019 0020 include(FindPackageHandleStandardArgs) 0021 FIND_PACKAGE_HANDLE_STANDARD_ARGS(MPFR DEFAULT_MSG MPFR_INCLUDE_DIR MPFR_LIBRARIES) 0022 0023 mark_as_advanced(MPFR_INCLUDE_DIR MPFR_LIBRARIES)