Could NOT find CMath (missing: CMath_pow)

Hello,

Trying to build paraview 5.11.2 on CentOS 8.

cmake -GNinja -DPARAVIEW_USE_PYTHON=ON -DPARAVIEW_USE_MPI=ON -DVTK_SMP_IMPLEMENTATION_TYPE=TBB -DCMAKE_BUILD_TYPE=Release /cluster/apps/src/paraview/paraview-5.11.2

-- Using 'QtHelp' without 'QtWebEngine' will ignore embedded javascript and *.js files for documentation

-- Could not use git to determine source version, using version 5.11.2

-- Could not use git to determine source version, using version

-- VTK version: 9.2.20220823

-- Could NOT find TBB (missing: TBB_DIR)

CMake Error at /cluster/apps/flamingo/cmake/3.14.5/share/cmake-3.14/Modules/FindPackageHandleStandardArgs.cmake:137 (message):

Could NOT find CMath (missing: CMath_pow)

Call Stack (most recent call first):

/cluster/apps/flamingo/cmake/3.14.5/share/cmake-3.14/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)

VTK/ThirdParty/tiff/vtktiff/cmake/FindCMath.cmake:52 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)

VTK/ThirdParty/tiff/vtktiff/CMakeLists.txt:150 (find_package)

-- Configuring incomplete, errors occurred!

See also "/cluster/apps/paraview/5.11.2/CMakeFiles/CMakeOutput.log".

See also "/cluster/apps/paraview/5.11.2/CMakeFiles/CMakeError.log"

Out put from log file:

Run Build Command(s):/bin/ninja-build cmTC_f6ba7 
[1/2] Building C object CMakeFiles/cmTC_f6ba7.dir/CheckSymbolExists.c.o
FAILED: CMakeFiles/cmTC_f6ba7.dir/CheckSymbolExists.c.o 
/cluster/apps/intel/2015.6.233/composer_xe_2015.6.233/bin/intel64/icc   -fPIE   -std=gnu99 -MD -M
T CMakeFiles/cmTC_f6ba7.dir/CheckSymbolExists.c.o -MF CMakeFiles/cmTC_f6ba7.dir/CheckSymbolExists
.c.o.d -o CMakeFiles/cmTC_f6ba7.dir/CheckSymbolExists.c.o   -c CheckSymbolExists.c
In file included from CheckSymbolExists.c(2):
/cluster/apps/intel/2015.6.233/composer_xe_2015.6.233/compiler/include/math.h(1214): error: ident
ifier "_LIB_VERSION_TYPE" is undefined
  _LIBIMF_EXT _LIB_VERSIONIMF_TYPE _LIBIMF_PUBVAR _LIB_VERSIONIMF;
              ^

compilation aborted for CheckSymbolExists.c (code 2)
ninja: build stopped: subcommand failed.

Any help is appreciated.

This seems to be a classic issue with intel compilers according to a quick google search.

Unrelated to ParaView.