mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-11-02 20:51:23 -07:00 
			
		
		
		
	Fix Boost build not forwarding osx sdk flags to the compiler
(cherry picked from commit 8c6f67a1645c596189d6601c5ed758e70adfd172)
This commit is contained in:
		
							parent
							
								
									d5a8db72ff
								
							
						
					
					
						commit
						c87fda7f7a
					
				
					 1 changed files with 3 additions and 1 deletions
				
			
		
							
								
								
									
										4
									
								
								deps/Boost/Boost.cmake
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								deps/Boost/Boost.cmake
									
										
									
									
										vendored
									
									
								
							| 
						 | 
					@ -73,7 +73,9 @@ file(TO_NATIVE_PATH ${DESTDIR}/usr/local/ _prefix)
 | 
				
			||||||
set(_boost_flags "")
 | 
					set(_boost_flags "")
 | 
				
			||||||
if (UNIX)
 | 
					if (UNIX)
 | 
				
			||||||
    set(_boost_flags "cflags=-fPIC;cxxflags=-fPIC")
 | 
					    set(_boost_flags "cflags=-fPIC;cxxflags=-fPIC")
 | 
				
			||||||
elseif(APPLE)
 | 
					endif ()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					if(APPLE)
 | 
				
			||||||
    set(_boost_flags 
 | 
					    set(_boost_flags 
 | 
				
			||||||
        "cflags=-fPIC -mmacosx-version-min=${DEP_OSX_TARGET};"
 | 
					        "cflags=-fPIC -mmacosx-version-min=${DEP_OSX_TARGET};"
 | 
				
			||||||
        "cxxflags=-fPIC -mmacosx-version-min=${DEP_OSX_TARGET};"
 | 
					        "cxxflags=-fPIC -mmacosx-version-min=${DEP_OSX_TARGET};"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue