mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-31 04:31:15 -06:00 
			
		
		
		
	ENH: ignore C4305 warning
Change-Id: I291d7e9686a85b38bcbb75875abd766af36a681d (cherry picked from commit 1de5069bd09599f693dbe37a627fa93d5dcfae74)
This commit is contained in:
		
							parent
							
								
									bc82396fbb
								
							
						
					
					
						commit
						8a7d3f36a8
					
				
					 1 changed files with 5 additions and 0 deletions
				
			
		|  | @ -279,6 +279,11 @@ if (APPLE) | |||
|     set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Werror=partial-availability -Werror=unguarded-availability -Werror=unguarded-availability-new") | ||||
| endif () | ||||
| 
 | ||||
| if(MSVC) | ||||
| # 添加编译选项,忽略警告 C4305 (格式转换截断) | ||||
| add_compile_options(/wd4305) | ||||
| endif() | ||||
| 
 | ||||
| # Where all the bundled libraries reside? | ||||
| set(LIBDIR ${CMAKE_CURRENT_SOURCE_DIR}/src) | ||||
| set(LIBDIR_BIN ${CMAKE_CURRENT_BINARY_DIR}/src) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Arthur
						Arthur