mirror of
				https://github.com/glfw/glfw.git
				synced 2025-10-30 20:22:30 +00:00 
			
		
		
		
	CMake | Windows | Change WINVER from 0x0501 to 0x0601
We need to change minimal WINVER from 0x0501 (Windows XP) to 0x0601 (Windows 7) because it is required to use DISPLAYCONFIG_PATH_INFO.
This commit is contained in:
		
							parent
							
								
									fbdb53b9ca
								
							
						
					
					
						commit
						d39db8978a
					
				| @ -282,7 +282,7 @@ endif() | |||||||
| # win32_platform.h.  We define them here until a saner solution can be found | # win32_platform.h.  We define them here until a saner solution can be found | ||||||
| # NOTE: MinGW-w64 and Visual C++ do /not/ need this hack. | # NOTE: MinGW-w64 and Visual C++ do /not/ need this hack. | ||||||
| if (MINGW) | if (MINGW) | ||||||
|     target_compile_definitions(glfw PRIVATE WINVER=0x0501) |     target_compile_definitions(glfw PRIVATE WINVER=0x0601) | ||||||
| endif() | endif() | ||||||
| 
 | 
 | ||||||
| # Workaround for legacy MinGW not providing XInput and DirectInput | # Workaround for legacy MinGW not providing XInput and DirectInput | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user