Merge pull request #23092 from webosbrew/feature/webOS
[xbmc.git] / cmake / modules / FindD3DX11Effects.cmake
blob0a43fd3807b67d2b86a0de7e2f2e726fcd606f73
1 # - Finds D3DX11 dependencies
2 # Once done this will define
4 # FXC - Path to the DirectX Effects Compiler (FXC)
6 find_program(FXC fxc
7              PATHS
8                "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Wow6432Node\\Microsoft\\Microsoft SDKs\\Windows\\v10.0;InstallationFolder]/bin/x86"
9                "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Wow6432Node\\Microsoft\\Microsoft SDKs\\Windows\\v10.0;InstallationFolder]/bin/[HKEY_LOCAL_MACHINE\\SOFTWARE\\Wow6432Node\\Microsoft\\Microsoft SDKs\\Windows\\v10.0;ProductVersion].0/x86"
10                "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Wow6432Node\\Microsoft\\Microsoft SDKs\\Windows\\v8.1;InstallationFolder]/bin/x86"
11                "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Wow6432Node\\Microsoft\\Microsoft SDKs\\Windows\\v8.0;InstallationFolder]/bin/x86"
12                "$ENV{WindowsSdkDir}bin/x86")
13 if(NOT FXC)
14   message(WARNING "Could NOT find DirectX Effects Compiler (FXC)")
15 endif()
16 mark_as_advanced(FXC)