Warning, /office/alkimia/cmake/modules/FindGMP.cmake is written in an unsupported language. File is not indexed.
0001 # Try to find the GMP librairies 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 # SPDX-License-Identifier: BSD-3-Clause 0009 0010 0011 if (GMP_INCLUDE_DIR AND GMP_LIBRARIES) 0012 # Already in cache, be silent 0013 set(GMP_FIND_QUIETLY TRUE) 0014 endif (GMP_INCLUDE_DIR AND GMP_LIBRARIES) 0015 0016 find_path(GMP_INCLUDE_DIR NAMES gmp.h ) 0017 find_library(GMP_LIBRARIES NAMES gmp libgmp) 0018 0019 include(FindPackageHandleStandardArgs) 0020 FIND_PACKAGE_HANDLE_STANDARD_ARGS(GMP DEFAULT_MSG GMP_INCLUDE_DIR GMP_LIBRARIES) 0021 0022 mark_as_advanced(GMP_INCLUDE_DIR GMP_LIBRARIES)