From c5fd828a71507f192f5509baf92e87136a0c35d9 Mon Sep 17 00:00:00 2001 From: Soonho Kong Date: Tue, 5 Nov 2013 19:30:36 -0500 Subject: [PATCH] chore(cmake): switch the ordering between gmp and mpfr --- src/CMakeLists.txt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index f513c7ae8..4314dc423 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -64,16 +64,16 @@ else () message(FATAL_ERROR "Your C++ compiler does not support C++11.") endif () -# GMP -find_package(GMP 5.0.5) -include_directories(${GMP_INCLUDE_DIR}) -set(EXTRA_LIBS ${EXTRA_LIBS} ${GMP_LIBRARIES}) - # MPFR find_package(MPFR 3.1.0) include_directories(${MPFR_INCLUDES}) 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 if("${TRACK_MEMORY_USAGE}" MATCHES "ON") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -D LEAN_TRACK_MEMORY")