-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
358700e
commit 03d7ca9
Showing
5 changed files
with
27 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# Try to find the GMP librairies | ||
# GMP_FOUND - system has GMP lib | ||
# GMP_INCLUDE_DIR - the GMP include directory | ||
# GMP_LIBRARIES - Libraries needed to use GMP | ||
|
||
# Copyright (c) 2006, Laurent Montel, <montel@kde.org> | ||
# | ||
# Redistribution and use is allowed according to the terms of the BSD license. | ||
# For details see the accompanying COPYING-CMAKE-SCRIPTS file. | ||
|
||
if (GMP_INCLUDE_DIR AND GMP_LIBRARIES) | ||
# Already in cache, be silent | ||
set(GMP_FIND_QUIETLY TRUE) | ||
endif (GMP_INCLUDE_DIR AND GMP_LIBRARIES) | ||
|
||
find_path(GMP_INCLUDE_DIR NAMES gmp.h ) | ||
find_library(GMP_LIBRARIES NAMES gmp libgmp ) | ||
find_library(GMPXX_LIBRARIES NAMES gmpxx libgmpxx ) | ||
MESSAGE(STATUS "GMP libs: " ${GMP_LIBRARIES} " " ${GMPXX_LIBRARIES} ) | ||
|
||
include(FindPackageHandleStandardArgs) | ||
FIND_PACKAGE_HANDLE_STANDARD_ARGS(GMP DEFAULT_MSG GMP_INCLUDE_DIR GMP_LIBRARIES) | ||
|
||
mark_as_advanced(GMP_INCLUDE_DIR GMP_LIBRARIES) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,6 +10,7 @@ addons: | |
packages: | ||
- gcc-4.8 | ||
- g++-4.8 | ||
- libgmp-dev | ||
# - clang | ||
notifications: | ||
email: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters