chore(CMakeLists.txt): mark gmp and mpfr as required packages
This commit is contained in:
parent
ae2ce356b4
commit
5118ee7a83
1 changed files with 2 additions and 2 deletions
|
@ -110,12 +110,12 @@ if (("${BOOST}" MATCHES "ON") AND ("${MULTI_THREAD}" MATCHES "ON"))
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# MPFR
|
# MPFR
|
||||||
find_package(MPFR 3.1.0)
|
find_package(MPFR 3.1.0 REQUIRED)
|
||||||
include_directories(${MPFR_INCLUDES})
|
include_directories(${MPFR_INCLUDES})
|
||||||
set(EXTRA_LIBS ${EXTRA_LIBS} ${MPFR_LIBRARIES})
|
set(EXTRA_LIBS ${EXTRA_LIBS} ${MPFR_LIBRARIES})
|
||||||
|
|
||||||
# GMP
|
# GMP
|
||||||
find_package(GMP 5.0.5)
|
find_package(GMP 5.0.5 REQUIRED)
|
||||||
include_directories(${GMP_INCLUDE_DIR})
|
include_directories(${GMP_INCLUDE_DIR})
|
||||||
set(EXTRA_LIBS ${EXTRA_LIBS} ${GMP_LIBRARIES})
|
set(EXTRA_LIBS ${EXTRA_LIBS} ${GMP_LIBRARIES})
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue