16 lines
		
	
	
		
			508 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
		
		
			
		
	
	
			16 lines
		
	
	
		
			508 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
| 
								 | 
							
								diff --git a/cmake/unifex_env.cmake b/cmake/unifex_env.cmake
							 | 
						||
| 
								 | 
							
								index cb99ae4..9825532 100644
							 | 
						||
| 
								 | 
							
								--- a/cmake/unifex_env.cmake
							 | 
						||
| 
								 | 
							
								+++ b/cmake/unifex_env.cmake
							 | 
						||
| 
								 | 
							
								@@ -21,8 +21,8 @@ endif()
							 | 
						||
| 
								 | 
							
								 
							 | 
						||
| 
								 | 
							
								 if (MSVC)
							 | 
						||
| 
								 | 
							
								     # warning level 3 and all warnings as errors
							 | 
						||
| 
								 | 
							
								-    add_compile_options(/W3 /WX)
							 | 
						||
| 
								 | 
							
								+    add_compile_options(/W3 /WX /Zc:externConstexpr /EHsc)
							 | 
						||
| 
								 | 
							
								 else()
							 | 
						||
| 
								 | 
							
								     # lots of warnings and all warnings as errors
							 | 
						||
| 
								 | 
							
								-    add_compile_options(-Wall -Wextra -pedantic -Werror)
							 | 
						||
| 
								 | 
							
								+    add_compile_options(-Wall -Wextra -pedantic)
							 | 
						||
| 
								 | 
							
								 endif()
							 |