Warning, /utilities/kcalc/cmake/modules/FindGMP.cmake is written in an unsupported language. File is not indexed.
0001 # Try to find the GMP libraries 0002 # GMP_FOUND - system has GMP lib 0003 # GMP_INCLUDE_DIR - the GMP include directory 0004 # GMP_LIBRARIES - Libraries needed to use GMP 0005 0006 # SPDX-FileCopyrightText: 2006 Laurent Montel <montel@kde.org> 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 (GMP_INCLUDE_DIR AND GMP_LIBRARIES) 0013 # Already in cache, be silent 0014 set(GMP_FIND_QUIETLY TRUE) 0015 endif (GMP_INCLUDE_DIR AND GMP_LIBRARIES) 0016 0017 find_path(GMP_INCLUDE_DIR NAMES gmp.h ) 0018 find_library(GMP_LIBRARIES NAMES gmp libgmp) 0019 0020 include(FindPackageHandleStandardArgs) 0021 FIND_PACKAGE_HANDLE_STANDARD_ARGS(GMP DEFAULT_MSG GMP_INCLUDE_DIR GMP_LIBRARIES) 0022 0023 mark_as_advanced(GMP_INCLUDE_DIR GMP_LIBRARIES)