While configuring and building VTK 6.2.0 using RHEL8 i am getting error in CMake like this:
CMake Error at CMake/vtkCompilerExtras.cmake:42 (if):
if given arguments:
"cc: error: ARGS: No such file or directory
cc (GCC) 8.2.1 20180905 (Red Hat 8.2.1-3)
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software" " see the source for copying conditions. There is
NO
warranty" " not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
" "VERSION_GREATER" "4.2.0" "AND" "BUILD_SHARED_LIBS" "AND"
"HAVE_GCC_VISIBILITY" "AND" "VTK_USE_GCC_VISIBILITY" "AND" "NOT" "MINGW"
"AND" "NOT" "CYGWIN"
Unknown arguments specified
Call Stack (most recent call first):
CMakeLists.txt:264 (include)
Can you help to solve this error?
GCC version is 8.2.1
CMAKE version is 3.11.4