mirror of
				https://github.com/eledio-devices/thirdparty-miniz.git
				synced 2025-10-31 00:32:38 +01:00 
			
		
		
		
	Disable treating warnings as error with MSVC
This commit is contained in:
		| @@ -17,7 +17,7 @@ else() | |||||||
|   # set(CMAKE_VISIBILITY_INLINES_HIDDEN YES) |   # set(CMAKE_VISIBILITY_INLINES_HIDDEN YES) | ||||||
|  |  | ||||||
|   if (MSVC) |   if (MSVC) | ||||||
|     set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /W3 /WX /Zi /permissive-") |     set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /W3 /Zi /permissive-") | ||||||
|   else () |   else () | ||||||
|     set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wshadow -Wformat=2 -Wall -Wno-overlength-strings -pedantic") |     set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wshadow -Wformat=2 -Wall -Wno-overlength-strings -pedantic") | ||||||
|   endif () |   endif () | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user