mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-26 18:21:18 -06:00 
			
		
		
		
	Fix CGAL build with major version > 4 on Linux
fixes #7341 CGAL upstream CMake config will lock in the major version if installed as a distro package and will not provide any version info if compiled and installed from upstream. As of this commit, PrusaSlicer can be built with CGAL 4.13.2, and 5.0 but there is no universal way to specify the minimum version that would work with static dependencies and linux packages. sorry #4912
This commit is contained in:
		
							parent
							
								
									7837070d29
								
							
						
					
					
						commit
						08e3e60a5f
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -298,7 +298,7 @@ set(CGAL_DO_NOT_WARN_ABOUT_CMAKE_BUILD_TYPE ON CACHE BOOL "" FORCE) | |||
| 
 | ||||
| cmake_policy(PUSH) | ||||
| cmake_policy(SET CMP0011 NEW) | ||||
| find_package(CGAL 4.13 REQUIRED) | ||||
| find_package(CGAL REQUIRED) | ||||
| cmake_policy(POP) | ||||
| 
 | ||||
| add_library(libslic3r_cgal STATIC MeshBoolean.cpp MeshBoolean.hpp  TryCatchSignal.hpp | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 tamasmeszaros
						tamasmeszaros