mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2026-02-24 05:15:03 -07:00
Update the destdir stuff for mpfr, gmp
This commit is contained in:
parent
b97dcd88b7
commit
33ebb7fa01
2 changed files with 7 additions and 9 deletions
7
deps/GMP/GMP.cmake
vendored
7
deps/GMP/GMP.cmake
vendored
|
|
@ -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}
|
||||
|
|
|
|||
9
deps/MPFR/MPFR.cmake
vendored
9
deps/MPFR/MPFR.cmake
vendored
|
|
@ -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}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue