mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-31 04:31:15 -06:00 
			
		
		
		
	CGAL stack compiles
This commit is contained in:
		
							parent
							
								
									bd3f1c6f35
								
							
						
					
					
						commit
						d29cbda09c
					
				
					 2 changed files with 15 additions and 2 deletions
				
			
		
							
								
								
									
										8
									
								
								deps/GMP/GMP.cmake
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										8
									
								
								deps/GMP/GMP.cmake
									
										
									
									
										vendored
									
									
								
							|  | @ -36,11 +36,17 @@ else () | |||
|         set(_gmp_build_tgt "") # let it guess | ||||
|     endif() | ||||
| 
 | ||||
|     set(_cross_compile_arg "") | ||||
|     if (CMAKE_CROSSCOMPILING) | ||||
|         # TOOLCHAIN_PREFIX should be defined in the toolchain file | ||||
|         set(_cross_compile_arg --host=${TOOLCHAIN_PREFIX}) | ||||
|     endif () | ||||
| 
 | ||||
|     ExternalProject_Add(dep_GMP | ||||
|         # URL  https://gmplib.org/download/gmp/gmp-6.1.2.tar.bz2 | ||||
|         URL https://gmplib.org/download/gmp/gmp-6.2.1.tar.bz2 | ||||
|         BUILD_IN_SOURCE ON  | ||||
|         CONFIGURE_COMMAND  env "CFLAGS=${_gmp_ccflags}" "CXXFLAGS=${_gmp_ccflags}" ./configure --enable-shared=no --enable-cxx=yes --enable-static=yes "--prefix=${DESTDIR}/usr/local" ${_gmp_build_tgt} | ||||
|         CONFIGURE_COMMAND  env "CFLAGS=${_gmp_ccflags}" "CXXFLAGS=${_gmp_ccflags}" ./configure ${_cross_compile_arg} --enable-shared=no --enable-cxx=yes --enable-static=yes "--prefix=${DESTDIR}/usr/local" ${_gmp_build_tgt} | ||||
|         BUILD_COMMAND     make -j | ||||
|         INSTALL_COMMAND   make install | ||||
|     ) | ||||
|  |  | |||
							
								
								
									
										9
									
								
								deps/MPFR/MPFR.cmake
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										9
									
								
								deps/MPFR/MPFR.cmake
									
										
									
									
										vendored
									
									
								
							|  | @ -18,10 +18,17 @@ if (MSVC) | |||
|     add_custom_target(dep_MPFR SOURCES ${_output}) | ||||
| 
 | ||||
| else () | ||||
| 
 | ||||
|     set(_cross_compile_arg "") | ||||
|     if (CMAKE_CROSSCOMPILING) | ||||
|         # TOOLCHAIN_PREFIX should be defined in the toolchain file | ||||
|         set(_cross_compile_arg --host=${TOOLCHAIN_PREFIX}) | ||||
|     endif () | ||||
| 
 | ||||
|     ExternalProject_Add(dep_MPFR | ||||
|         URL http://ftp.vim.org/ftp/gnu/mpfr/mpfr-3.1.6.tar.bz2 https://www.mpfr.org/mpfr-3.1.6/mpfr-3.1.6.tar.bz2  # mirrors are allowed | ||||
|         BUILD_IN_SOURCE ON | ||||
|         CONFIGURE_COMMAND env "CFLAGS=${_gmp_ccflags}" "CXXFLAGS=${_gmp_ccflags}" ./configure --prefix=${DESTDIR}/usr/local --enable-shared=no --enable-static=yes --with-gmp=${DESTDIR}/usr/local ${_gmp_build_tgt} | ||||
|         CONFIGURE_COMMAND env "CFLAGS=${_gmp_ccflags}" "CXXFLAGS=${_gmp_ccflags}" ./configure ${_cross_compile_arg} --prefix=${DESTDIR}/usr/local --enable-shared=no --enable-static=yes --with-gmp=${DESTDIR}/usr/local ${_gmp_build_tgt} | ||||
|         BUILD_COMMAND make -j | ||||
|         INSTALL_COMMAND make install | ||||
|         DEPENDS dep_GMP | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 tamasmeszaros
						tamasmeszaros