chore(CMakeLists.txt): mark gmp and mpfr as required packages

This commit is contained in:
Soonho Kong 2014-07-18 08:29:51 -04:00
parent ae2ce356b4
commit 5118ee7a83

View file

@ -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})