From 33ebb7fa012d37762e5d8d0130d1bea07f562514 Mon Sep 17 00:00:00 2001 From: Aidan Date: Wed, 6 Mar 2024 20:10:14 -0600 Subject: [PATCH] Update the destdir stuff for mpfr, gmp --- deps/GMP/GMP.cmake | 7 +++---- deps/MPFR/MPFR.cmake | 9 ++++----- 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/deps/GMP/GMP.cmake b/deps/GMP/GMP.cmake index c0851df163..1051c6147b 100644 --- a/deps/GMP/GMP.cmake +++ b/deps/GMP/GMP.cmake @@ -1,11 +1,10 @@ set(_srcdir ${CMAKE_CURRENT_LIST_DIR}/gmp) -set(_dstdir ${DESTDIR}/usr/local) if (MSVC) - set(_output ${_dstdir}/include/gmp.h - ${_dstdir}/lib/libgmp-10.lib - ${_dstdir}/bin/libgmp-10.dll) + set(_output ${DESTDIR}/include/gmp.h + ${DESTDIR}/lib/libgmp-10.lib + ${DESTDIR}/bin/libgmp-10.dll) add_custom_command( OUTPUT ${_output} diff --git a/deps/MPFR/MPFR.cmake b/deps/MPFR/MPFR.cmake index 1371b93541..9e64fdbd58 100644 --- a/deps/MPFR/MPFR.cmake +++ b/deps/MPFR/MPFR.cmake @@ -1,11 +1,10 @@ set(_srcdir ${CMAKE_CURRENT_LIST_DIR}/mpfr) -set(_dstdir ${DESTDIR}/usr/local) if (MSVC) - set(_output ${_dstdir}/include/mpfr.h - ${_dstdir}/include/mpf2mpfr.h - ${_dstdir}/lib/libmpfr-4.lib - ${_dstdir}/bin/libmpfr-4.dll) + set(_output ${DESTDIR}/include/mpfr.h + ${DESTDIR}/include/mpf2mpfr.h + ${DESTDIR}/lib/libmpfr-4.lib + ${DESTDIR}/bin/libmpfr-4.dll) add_custom_command( OUTPUT ${_output}