Win 11 Metavision 4.6.2 cmake "Could NOT find TIFF" error

Win 11 Metavision 4.6.2 cmake "Could NOT find TIFF" error

Hello, I am trying to install Metavision on Windows 11 and compile the metavision_viewer.

With the Metavision 4.6.2,  I got this error after the command:

cmake .. -DCMAKE_BUILD_TYPE=Release

CMake Error at C:/Program Files/CMake/share/cmake-3.31/Modules/FindPackageHandleStandardArgs.cmake:233 (message):
  Could NOT find TIFF (missing: TIFF_LIBRARY TIFF_INCLUDE_DIR)
Call Stack (most recent call first):
  C:/Program Files/CMake/share/cmake-3.31/Modules/FindPackageHandleStandardArgs.cmake:603 (_FPHSA_FAILURE_MESSAGE)
  C:/Program Files/CMake/share/cmake-3.31/Modules/FindTIFF.cmake:274 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  C:/Program Files/CMake/share/cmake-3.31/Modules/CMakeFindDependencyMacro.cmake:76 (find_package)
  D:/Prophesee/third_party/share/opencv/OpenCVModules.cmake:35 (find_dependency)
  D:/Prophesee/third_party/share/opencv/OpenCVConfig.cmake:126 (include)
  D:/Prophesee/share/cmake/MetavisionSDK/Modules/core/MetavisionSDK_coreConfig.cmake:5 (find_package)
  D:/Prophesee/share/cmake/MetavisionSDK/MetavisionSDKConfig.cmake:376 (find_package)
  D:/Prophesee/share/cmake/MetavisionSDK/MetavisionSDKConfig.cmake:387 (_find_MetavisionSDK_component)
  CMakeLists.txt:16 (find_package)


Then I removed v4.6.2, installed v4.3.0, it configured and build without errors with commands

cmake .. -DCMAKE_BUILD_TYPE=Release
cmake --build . --config Release