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")