CMake Error

Hello hope you doing well, I have installed ITK 5.1.2 successfully for Gate 9.0 installation. But during configuration of ITK i got this error even file ITKConfig.cmake is present in ITK5.1.2/bin.

CMake Error at CMakeLists.txt:245 (FIND_PACKAGE):
By not providing “FindITK.cmake” in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by “ITK”, but
CMake did not find one.

Could not find a package configuration file provided by “ITK” (requested
version 4.9) with any of the following names:

 ITKConfig.cmake
 itk-config.cmake

Add the installation prefix of “ITK” to CMAKE_PREFIX_PATH or set “ITK_DIR”
to a directory containing one of the above files. If “ITK” provides a
separate development package or SDK, be sure it has been installed.

Was ITK_DIR set?