mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-31 12:41:20 -06:00 
			
		
		
		
	Fix for unsupported cmake feature
This commit is contained in:
		
							parent
							
								
									18bbefcd61
								
							
						
					
					
						commit
						d481feda13
					
				
					 1 changed files with 8 additions and 1 deletions
				
			
		|  | @ -283,7 +283,14 @@ endfunction() | |||
| if(TARGET Boost::system) | ||||
|     message(STATUS "Boost::boost exists") | ||||
|     target_link_libraries(boost_headeronly INTERFACE Boost::boost) | ||||
|     list(TRANSFORM _boost_components PREPEND Boost:: OUTPUT_VARIABLE _boost_targets) | ||||
| 
 | ||||
|     # Only from cmake 3.12 | ||||
|     # list(TRANSFORM _boost_components PREPEND Boost:: OUTPUT_VARIABLE _boost_targets) | ||||
|     set(_boost_targets "") | ||||
|     foreach(comp ${_boost_components}) | ||||
|         list(APPEND _boost_targets "Boost::${comp}") | ||||
|     endforeach() | ||||
| 
 | ||||
|     target_link_libraries(boost_libs INTERFACE | ||||
|         boost_headeronly # includes the custom compile definitions as well | ||||
|         ${_boost_targets} | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 tamasmeszaros
						tamasmeszaros