mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-30 12:11:15 -06:00 
			
		
		
		
	ENH: upgrade some deps libraries
CGAL to 5.4 TBB to 2021.5 OpenVDB to 8.2 Change-Id: I08992fce104e6f56001643c3c5dbf6c3f59ffc3d (cherry picked from commit 1571f176fc37dda1c3e889776e13fa49bba4ae42)
This commit is contained in:
		
							parent
							
								
									4297f72283
								
							
						
					
					
						commit
						3d8383f127
					
				
					 6 changed files with 34 additions and 53 deletions
				
			
		|  | @ -8,22 +8,16 @@ if(${CMAKE_FIND_PACKAGE_NAME}_FIND_QUIETLY) | |||
|     set(_q QUIET) | ||||
| endif() | ||||
| 
 | ||||
| # Only consider the config scripts if not building with the static dependencies | ||||
| # and this call is not made from a static dependency build (e.g. dep_OpenVDB will use this module) | ||||
| # BUILD_SHARED_LIBS will always be defined for dependency projects and will be OFF. | ||||
| # Newer versions of TBB also discourage from using TBB as a static library | ||||
| if (NOT SLIC3R_STATIC AND (NOT DEFINED BUILD_SHARED_LIBS OR BUILD_SHARED_LIBS))  | ||||
|     find_package(${CMAKE_FIND_PACKAGE_NAME} ${${CMAKE_FIND_PACKAGE_NAME}_FIND_VERSION} CONFIG ${_q}) | ||||
| 
 | ||||
|     if(NOT ${CMAKE_FIND_PACKAGE_NAME}_FIND_QUIETLY) | ||||
|         if (NOT ${CMAKE_FIND_PACKAGE_NAME}_FOUND) | ||||
|             message(STATUS "Falling back to MODULE search for ${CMAKE_FIND_PACKAGE_NAME}...") | ||||
|         else() | ||||
|             message(STATUS "${CMAKE_FIND_PACKAGE_NAME} found in ${${CMAKE_FIND_PACKAGE_NAME}_DIR}") | ||||
|         endif() | ||||
| find_package(${CMAKE_FIND_PACKAGE_NAME} ${${CMAKE_FIND_PACKAGE_NAME}_FIND_VERSION} CONFIG ${_q}) | ||||
| 
 | ||||
| if(NOT ${CMAKE_FIND_PACKAGE_NAME}_FIND_QUIETLY) | ||||
|     if (NOT ${CMAKE_FIND_PACKAGE_NAME}_FOUND) | ||||
|         message(STATUS "Falling back to MODULE search for ${CMAKE_FIND_PACKAGE_NAME}...") | ||||
|     else() | ||||
|         message(STATUS "${CMAKE_FIND_PACKAGE_NAME} found in ${${CMAKE_FIND_PACKAGE_NAME}_DIR}") | ||||
|     endif() | ||||
| 
 | ||||
| endif () | ||||
| endif() | ||||
| 
 | ||||
| if (NOT ${CMAKE_FIND_PACKAGE_NAME}_FOUND) | ||||
|     include(${CMAKE_CURRENT_LIST_DIR}/FindTBB.cmake.in) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Arthur
						Arthur