Explorar o código

Add Windows Kit detection for Windows 10.
Close #911.

Yao Wei Tjong 姚伟忠 %!s(int64=10) %!d(string=hai) anos
pai
achega
6ccf70be10
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      CMake/Modules/FindDirect3D.cmake

+ 1 - 0
CMake/Modules/FindDirect3D.cmake

@@ -50,6 +50,7 @@ endif ()
 # Only need to search the DLL as a proxy for the presence of the MS Windows SDK
 # Note: do not use default paths such as the PATH variable, to potentially avoid using a wrong architecture DLL
 find_file (DIRECT3D_DLL NAMES ${DLL_NAMES} PATHS
+    "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Wow6432Node\\Microsoft\\Microsoft SDKs\\Windows\\v10.0;InstallationFolder]/Redist/D3D/${PATH_SUFFIX}"
     "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Wow6432Node\\Microsoft\\Microsoft SDKs\\Windows\\v8.1;InstallationFolder]/Redist/D3D/${PATH_SUFFIX}"
     "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Wow6432Node\\Microsoft\\Microsoft SDKs\\Windows\\v8.0;InstallationFolder]/Redist/D3D/${PATH_SUFFIX}"
     NO_DEFAULT_PATH)