From 1cf057abbc5fb7a15bdccd0a13531af7a6cb9dbc Mon Sep 17 00:00:00 2001 From: tamasmeszaros Date: Tue, 10 Dec 2019 15:49:52 +0100 Subject: [PATCH] Add dlls into bin rather than lib --- deps/GMP/GMP.cmake | 4 ++-- deps/MPFR/MPFR.cmake | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/deps/GMP/GMP.cmake b/deps/GMP/GMP.cmake index 9874dcf8d..6c93107c4 100644 --- a/deps/GMP/GMP.cmake +++ b/deps/GMP/GMP.cmake @@ -5,13 +5,13 @@ set(_dstdir ${DESTDIR}/usr/local) if (MSVC) set(_output ${_dstdir}/include/gmp.h ${_dstdir}/lib/libgmp-10.lib - ${_dstdir}/lib/libgmp-10.dll) + ${_dstdir}/bin/libgmp-10.dll) add_custom_command( OUTPUT ${_output} COMMAND ${CMAKE_COMMAND} -E copy ${_srcdir}/include/gmp.h ${_dstdir}/include/ COMMAND ${CMAKE_COMMAND} -E copy ${_srcdir}/lib/win${DEPS_BITS}/libgmp-10.lib ${_dstdir}/lib/ - COMMAND ${CMAKE_COMMAND} -E copy ${_srcdir}/lib/win${DEPS_BITS}/libgmp-10.dll ${_dstdir}/lib/ + COMMAND ${CMAKE_COMMAND} -E copy ${_srcdir}/lib/win${DEPS_BITS}/libgmp-10.dll ${_dstdir}/bin/ ) add_custom_target(dep_GMP SOURCES ${_output}) diff --git a/deps/MPFR/MPFR.cmake b/deps/MPFR/MPFR.cmake index f89488dcf..7873bc0d6 100644 --- a/deps/MPFR/MPFR.cmake +++ b/deps/MPFR/MPFR.cmake @@ -5,14 +5,14 @@ if (MSVC) set(_output ${_dstdir}/include/mpfr.h ${_dstdir}/include/mpf2mpfr.h ${_dstdir}/lib/libmpfr-4.lib - ${_dstdir}/lib/libmpfr-4.dll) + ${_dstdir}/bin/libmpfr-4.dll) add_custom_command( OUTPUT ${_output} COMMAND ${CMAKE_COMMAND} -E copy ${_srcdir}/include/mpfr.h ${_dstdir}/include/ COMMAND ${CMAKE_COMMAND} -E copy ${_srcdir}/include/mpf2mpfr.h ${_dstdir}/include/ COMMAND ${CMAKE_COMMAND} -E copy ${_srcdir}/lib/win${DEPS_BITS}/libmpfr-4.lib ${_dstdir}/lib/ - COMMAND ${CMAKE_COMMAND} -E copy ${_srcdir}/lib/win${DEPS_BITS}/libmpfr-4.dll ${_dstdir}/lib/ + COMMAND ${CMAKE_COMMAND} -E copy ${_srcdir}/lib/win${DEPS_BITS}/libmpfr-4.dll ${_dstdir}/bin/ ) add_custom_target(dep_MPFR SOURCES ${_output})