Cmake tips and tricks: Difference between revisions

From HPCWIKI
Jump to navigation Jump to search
(Created page with "== CMake x.yy or higher is required<ref>https://stackoverflow.com/questions/49859457/how-to-reinstall-the-latest-cmake-version</ref> == Install latest cmake using pip<syntaxhighlight lang="bash"> $apt remove cmake -y $pip install cmake --upgrade </syntaxhighlight> == References == <references />")
 
No edit summary
Line 1: Line 1:
== CMake x.yy or higher is required<ref>https://stackoverflow.com/questions/49859457/how-to-reinstall-the-latest-cmake-version</ref> ==
== CMake x.yy or higher is required<ref>https://stackoverflow.com/questions/49859457/how-to-reinstall-the-latest-cmake-version</ref> ==
Install latest cmake using pip<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
#Install latest cmake
$apt remove cmake -y
$apt remove cmake -y
$pip install cmake --upgrade
$pip install cmake --upgrade
#Or specific version
sudo pip install cmake==3.22
</syntaxhighlight>
</syntaxhighlight>


== References ==
== References ==
<references />
<references />

Revision as of 14:00, 25 May 2024

CMake x.yy or higher is required[1]

#Install latest cmake 
$apt remove cmake -y
$pip install cmake --upgrade

#Or specific version
sudo pip install cmake==3.22

References