mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-11-01 21:21:10 -06:00
Add Unix builds for gmp and mpfr, downloading and configure for cgal
This commit is contained in:
parent
2cc45dbf21
commit
f94321e117
4 changed files with 27 additions and 1 deletions
8
deps/GMP/GMP.cmake
vendored
8
deps/GMP/GMP.cmake
vendored
|
|
@ -16,4 +16,12 @@ if (MSVC)
|
|||
|
||||
add_custom_target(dep_GMP SOURCES ${_output})
|
||||
|
||||
else ()
|
||||
ExternalProject_Add(dep_GMP
|
||||
URL https://gmplib.org/download/gmp/gmp-6.1.2.tar.bz2
|
||||
BUILD_IN_SOURCE ON
|
||||
CONFIGURE_COMMAND ./configure --enable-shared=no --enable-static=yes "--prefix=${DESTDIR}/usr/local" --with-pic
|
||||
BUILD_COMMAND make -j
|
||||
INSTALL_COMMAND make install
|
||||
)
|
||||
endif ()
|
||||
Loading…
Add table
Add a link
Reference in a new issue