CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   ParaView (https://www.cfd-online.com/Forums/paraview/)
-   -   [OpenFOAM] selecting cmake-Version when building Paraview from OpenFOAM (https://www.cfd-online.com/Forums/paraview/206790-selecting-cmake-version-when-building-paraview-openfoam.html)

molli123 September 13, 2018 08:33

selecting cmake-Version when building Paraview from OpenFOAM
 
Hi,

I try to build OF6 on CentOS 7.5 and I am having trouble with cmake- even when building cmake within OpenFOAM Dir

Basically I am using this guide: http://openfoamwiki.net/index.php/In...7.5_.281804.29

Cmake Versions on my system:

/usr/bin/cmake (2.8.12.2 from base)
/usr/bin/cmake3 (3.12.0 from EPEL)

I tried global variables

export CMAKE_COMMAND="/usr/bin/cmake3"
export cmakeExe=cmake3


or as switch

-cmake $(which cmake3)



It still tells me when trying makeParaview -config



CMake Error at CMakeLists.txt:31 (cmake_minimum_required):
CMake 3.3 or higher is required. You are running version 2.8.12.2




Any idea how to force the right version of cmake?


Regards,
Michael!


All times are GMT -4. The time now is 07:03.