mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-31 04:31:15 -06:00 
			
		
		
		
	Only consider openvdb debug if necessary.
This commit is contained in:
		
							parent
							
								
									9bf09e2874
								
							
						
					
					
						commit
						ab1bcad8c7
					
				
					 1 changed files with 3 additions and 1 deletions
				
			
		|  | @ -223,7 +223,9 @@ foreach(COMPONENT ${OpenVDB_FIND_COMPONENTS}) | |||
|   if (_is_multi) | ||||
|     list(APPEND OpenVDB_LIB_COMPONENTS ${OpenVDB_${COMPONENT}_LIBRARY_RELEASE} ${OpenVDB_${COMPONENT}_LIBRARY_DEBUG}) | ||||
| 
 | ||||
|     if(OpenVDB_${COMPONENT}_LIBRARY_RELEASE AND ${OpenVDB_${COMPONENT}_LIBRARY_DEBUG}) | ||||
|     list(FIND CMAKE_CONFIGURATION_TYPES "Debug" _has_debug) | ||||
|      | ||||
|     if(OpenVDB_${COMPONENT}_LIBRARY_RELEASE AND (_has_debug LESS 0 OR OpenVDB_${COMPONENT}_LIBRARY_DEBUG)) | ||||
|       set(OpenVDB_${COMPONENT}_FOUND TRUE) | ||||
|     else() | ||||
|       set(OpenVDB_${COMPONENT}_FOUND FALSE) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 tamasmeszaros
						tamasmeszaros