From 9cefab759d91787daf3da01e217e55eddc5e8ab8 Mon Sep 17 00:00:00 2001 From: Sven Oesau Date: Thu, 18 Sep 2025 16:33:34 +0200 Subject: [PATCH] adding dependencies for print_MPFR_version.cpp --- Installation/cmake/modules/FindMPFR.cmake | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Installation/cmake/modules/FindMPFR.cmake b/Installation/cmake/modules/FindMPFR.cmake index b0507120ce0..891b2a7edbd 100644 --- a/Installation/cmake/modules/FindMPFR.cmake +++ b/Installation/cmake/modules/FindMPFR.cmake @@ -46,6 +46,9 @@ if (NOT MPFR_in_cache) if ( NOT MPFR_INCLUDE_DIR OR NOT MPFR_LIBRARIES_DIR ) include( MPFRConfig OPTIONAL ) endif() + + set(MPFR_DEPENDENCY_INCLUDE_DIR ${GMP_INCLUDE_DIR}) + set(MPFR_DEPENDENCY_LIBRARIES ${GMP_LIBRARIES}) endif()