author | unc0rr |
Fri, 12 Nov 2010 19:48:51 +0300 | |
branch | mbait-mangen |
changeset 2566 | 4fb45d86d5e8 |
parent 2401 | 2a694ea2a437 |
permissions | -rw-r--r-- |
2401 | 1 |
FIND_PATH(GMP_INCLUDE_DIR gmp.h) |
2 |
||
3 |
FIND_LIBRARY(GMP_LIBRARY NAMES GMP gmp) |
|
4 |
||
5 |
IF (GMP_INCLUDE_DIR AND GMP_LIBRARY) |
|
6 |
SET(GMP_FOUND TRUE) |
|
7 |
ENDIF (GMP_INCLUDE_DIR AND GMP_LIBRARY) |
|
8 |
||
9 |
IF (GMP_FOUND) |
|
10 |
IF (NOT GMP_FIND_QUIETLY) |
|
11 |
MESSAGE(STATUS "Found GMP: ${GMP_LIBRARY}") |
|
12 |
ENDIF (NOT GMP_FIND_QUIETLY) |
|
13 |
ELSE (GMP_FOUND) |
|
14 |
IF (GMP_FIND_REQUIRED) |
|
15 |
MESSAGE(FATAL_ERROR "Could not find GMP") |
|
16 |
ENDIF (GMP_FIND_REQUIRED) |
|
17 |
ENDIF (GMP_FOUND) |