chore(cmake): switch the ordering between gmp and mpfr
This commit is contained in:
parent
07737d3a4b
commit
c5fd828a71
1 changed files with 5 additions and 5 deletions
|
@ -64,16 +64,16 @@ else ()
|
||||||
message(FATAL_ERROR "Your C++ compiler does not support C++11.")
|
message(FATAL_ERROR "Your C++ compiler does not support C++11.")
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
# GMP
|
|
||||||
find_package(GMP 5.0.5)
|
|
||||||
include_directories(${GMP_INCLUDE_DIR})
|
|
||||||
set(EXTRA_LIBS ${EXTRA_LIBS} ${GMP_LIBRARIES})
|
|
||||||
|
|
||||||
# MPFR
|
# MPFR
|
||||||
find_package(MPFR 3.1.0)
|
find_package(MPFR 3.1.0)
|
||||||
include_directories(${MPFR_INCLUDES})
|
include_directories(${MPFR_INCLUDES})
|
||||||
set(EXTRA_LIBS ${EXTRA_LIBS} ${MPFR_LIBRARIES})
|
set(EXTRA_LIBS ${EXTRA_LIBS} ${MPFR_LIBRARIES})
|
||||||
|
|
||||||
|
# GMP
|
||||||
|
find_package(GMP 5.0.5)
|
||||||
|
include_directories(${GMP_INCLUDE_DIR})
|
||||||
|
set(EXTRA_LIBS ${EXTRA_LIBS} ${GMP_LIBRARIES})
|
||||||
|
|
||||||
# TRACK_MEMORY_USAGE
|
# TRACK_MEMORY_USAGE
|
||||||
if("${TRACK_MEMORY_USAGE}" MATCHES "ON")
|
if("${TRACK_MEMORY_USAGE}" MATCHES "ON")
|
||||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -D LEAN_TRACK_MEMORY")
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -D LEAN_TRACK_MEMORY")
|
||||||
|
|
Loading…
Reference in a new issue