check for shellscalingapi.h presence instead of WINVER >= 0x0603

This commit is contained in:
Ozkan Sezer authored and Sam Lantinga committed 2022-06-18 13:00:44 -07:00
1 parent 5f6d0abebe
commit a8d41b3b45
7 files changed
+27 -6

No files matched your search

+1
View File
@@ -1651,6 +1651,7 @@ elseif(WINDOWS)
check_include_file(mmdeviceapi.h HAVE_MMDEVICEAPI_H)
check_include_file(audioclient.h HAVE_AUDIOCLIENT_H)
check_include_file(sensorsapi.h HAVE_SENSORSAPI_H)
check_include_file(shellscalingapi.h HAVE_SHELLSCALINGAPI_H)
if(SDL_AUDIO)
if(NOT WINDOWS_STORE)