mirror of
				https://github.com/Z3Prover/z3
				synced 2025-10-31 11:42:28 +00:00 
			
		
		
		
	bump cmake minimum version to 3.4 as it was released 3+ years ago
some misc compiler flags cleanup
This commit is contained in:
		
							parent
							
								
									c7bbf2f8de
								
							
						
					
					
						commit
						c0f7afacc4
					
				
					 5 changed files with 13 additions and 59 deletions
				
			
		|  | @ -22,8 +22,7 @@ if (LINK_TIME_OPTIMIZATION) | |||
|       ("${CMAKE_CXX_COMPILER_ID}" MATCHES "GNU")) | ||||
|       set(_lto_compiler_flag "-flto") | ||||
|       set(_lto_linker_flag "-flto") | ||||
|   # FIXME: Remove "x.." when CMP0054 is set to NEW | ||||
|   elseif ("x${CMAKE_CXX_COMPILER_ID}" STREQUAL "xMSVC") | ||||
|   elseif ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC") | ||||
|     set(_lto_compiler_flag "/GL") | ||||
|     set(_lto_linker_flag "/LTCG") | ||||
|   else() | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue