mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-30 20:21:12 -06:00 
			
		
		
		
	Change pch to new CMake functions
This commit is contained in:
		
							parent
							
								
									3cb967327e
								
							
						
					
					
						commit
						2d3a218a07
					
				
					 2 changed files with 4 additions and 2 deletions
				
			
		|  | @ -308,5 +308,6 @@ if(SLIC3R_PROFILE) | |||
| endif() | ||||
| 
 | ||||
| if (SLIC3R_PCH AND NOT SLIC3R_SYNTAXONLY) | ||||
|     add_precompiled_header(libslic3r pchheader.hpp FORCEINCLUDE) | ||||
|     #add_precompiled_header(libslic3r pchheader.hpp FORCEINCLUDE) | ||||
|     target_precompile_headers(libslic3r PRIVATE pchheader.hpp) | ||||
| endif () | ||||
|  |  | |||
|  | @ -231,5 +231,6 @@ if (SLIC3R_STATIC AND UNIX AND NOT APPLE) | |||
| endif () | ||||
| 
 | ||||
| if (SLIC3R_PCH AND NOT SLIC3R_SYNTAXONLY) | ||||
|     add_precompiled_header(libslic3r_gui pchheader.hpp FORCEINCLUDE) | ||||
|     #add_precompiled_header(libslic3r_gui pchheader.hpp FORCEINCLUDE) | ||||
|     target_precompile_headers(libslic3r_gui PRIVATE pchheader.hpp) | ||||
| endif () | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 tamasmeszaros
						tamasmeszaros