You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

OvSetWindowsSDKPath.cmake 678B

3 years ago
1234567891011121314151617
  1. IF(NOT OV_MS_SDK_PATH)
  2. GET_FILENAME_COMPONENT(OV_MS_SDK_PATH "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Win32SDK\\Directories;Install Dir]" ABSOLUTE CACHE)
  3. ENDIF(NOT OV_MS_SDK_PATH)
  4. IF(NOT OV_MS_SDK_PATH)
  5. GET_FILENAME_COMPONENT(OV_MS_SDK_PATH "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\MicrosoftSDK\\Directories;Install Dir]" ABSOLUTE CACHE)
  6. ENDIF(NOT OV_MS_SDK_PATH)
  7. IF(NOT OV_MS_SDK_PATH)
  8. GET_FILENAME_COMPONENT(OV_MS_SDK_PATH "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Microsoft SDKs\\Windows;CurrentInstallFolder]" ABSOLUTE CACHE)
  9. ENDIF(NOT OV_MS_SDK_PATH)
  10. IF(NOT OV_MS_SDK_PATH)
  11. MESSAGE(STATUS "Could not find Microsoft Windows SDK")
  12. ENDIF(NOT OV_MS_SDK_PATH)