# Compilation with CMake\>4.0

**URL:** <https://forum.nektar.info/t/compilation-with-cmake-4-0/16>\
**Category:** Compile & Install Support\
**Created:** [May 29, 2026, 1:52pm UTC](https://forum.nektar.info/t/compilation-with-cmake-4-0/16 "2026-05-29T13:52:26Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![JialinSu](https://forum.nektar.info/letter_avatar_proxy/v4/letter/j/58f4c7/32.png) [@JialinSu](https://forum.nektar.info/u/JialinSu)\
**Post date:** [May 29, 2026, 1:52pm UTC](https://forum.nektar.info/t/compilation-with-cmake-4-0/16/1 "2026-05-29T13:52:26Z")

</div>

Dear colleagues,

I recently tried to install Nektar++ 5.9.0 on the Tier 2 HPC Cirrus. I realised that CMake\>4.0 no longer supports TinyXML and had to revert to a lower version of CMake to compile Nektar++ 5.9.0. Given that TinyXML is no longer supported by its developers, is there any plan to move to TinyXML2 so that it can be better supported in future HPC platforms?

Kind regards,

Jialin, Loughborough University

---

<div class="post-metadata">

**Author:** ![jxing](https://forum.nektar.info/letter_avatar_proxy/v4/letter/j/50afbb/32.png) [@jxing](https://forum.nektar.info/u/jxing)\
**Post date:** [June 1, 2026, 4:25pm UTC](https://forum.nektar.info/t/compilation-with-cmake-4-0/16/2 "2026-06-01T16:25:31Z")

</div>

I think the problem is simply because the minimum Cmake version of TinyXML is set to 2.8. We can consider providing a patch. I am not yet familiar with TinyXML2.

---

<div class="post-metadata">

**Author:** ![jxing](https://forum.nektar.info/letter_avatar_proxy/v4/letter/j/50afbb/32.png) [@jxing](https://forum.nektar.info/u/jxing)\
**Post date:** [June 3, 2026, 1:14pm UTC](https://forum.nektar.info/t/compilation-with-cmake-4-0/16/3 "2026-06-03T13:14:24Z")

</div>

Please see MR: [https://gitlab.nektar.info/nektar/nektar/-/merge\_requests/2559](https://gitlab.nektar.info/nektar/nektar/-/merge_requests/2559)

---

<div class="post-metadata">

**Author:** ![JialinSu](https://forum.nektar.info/letter_avatar_proxy/v4/letter/j/58f4c7/32.png) [@JialinSu](https://forum.nektar.info/u/JialinSu)\
**Post date:** [June 3, 2026, 2:10pm UTC](https://forum.nektar.info/t/compilation-with-cmake-4-0/16/4 "2026-06-03T14:10:29Z")

</div>

Hi Jacque,

Thanks for the changes.

Kind regards,

Jialin

---

<div class="post-metadata">

**Author:** ![jxing](https://forum.nektar.info/letter_avatar_proxy/v4/letter/j/50afbb/32.png) [@jxing](https://forum.nektar.info/u/jxing)\
**Post date:** [June 8, 2026, 10:41pm UTC](https://forum.nektar.info/t/compilation-with-cmake-4-0/16/5 "2026-06-08T22:41:14Z")

</div>

MR2559 has now been merged. The merge request also fixed other thirdparty libraries compilation for CMake4.
