mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-30 12:11:15 -06:00 
			
		
		
		
	Fix FindOpenVDB on Linux
This commit is contained in:
		
							parent
							
								
									70ecb634b7
								
							
						
					
					
						commit
						49678fe418
					
				
					 1 changed files with 6 additions and 8 deletions
				
			
		|  | @ -526,16 +526,14 @@ foreach(COMPONENT ${OpenVDB_FIND_COMPONENTS}) | |||
|       INTERFACE_LINK_LIBRARIES "${_OPENVDB_VISIBLE_DEPENDENCIES}" # visible deps (headers) | ||||
|       INTERFACE_COMPILE_FEATURES cxx_std_11 | ||||
|       IMPORTED_LOCATION "${OpenVDB_${COMPONENT}_LIBRARY}" | ||||
|    ) | ||||
| 
 | ||||
|    if (_is_multi) | ||||
|      set_target_properties(OpenVDB::${COMPONENT} PROPERTIES  | ||||
|        IMPORTED_LOCATION_RELEASE "${OpenVDB_${COMPONENT}_LIBRARY_RELEASE}" | ||||
|        IMPORTED_LOCATION_DEBUG "${OpenVDB_${COMPONENT}_LIBRARY_DEBUG}" | ||||
|      ) | ||||
| 
 | ||||
|   # if (_is_multi) | ||||
|   #   set_target_properties(OpenVDB::${COMPONENT} PROPERTIES  | ||||
|   #     IMPORTED_LOCATION_RELEASE "${OpenVDB_${COMPONENT}_LIBRARY_RELEASE}" | ||||
|   #     IMPORTED_LOCATION_DEBUG "${OpenVDB_${COMPONENT}_LIBRARY_DEBUG}" | ||||
|   #   ) | ||||
|   # endif () | ||||
|    endif () | ||||
| 
 | ||||
|    if (OPENVDB_USE_STATIC_LIBS) | ||||
|     set_target_properties(OpenVDB::${COMPONENT} PROPERTIES | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 tamasmeszaros
						tamasmeszaros