# Getting the c++ standard if ROOT\_CXX\_STANDARD is not set

**URL:** <https://root-forum.cern.ch/t/getting-the-c-standard-if-root-cxx-standard-is-not-set/59439>\
**Category:** ROOT\
**Tags:** cmake\
**Created:** [May 23, 2024, 3:17pm UTC](https://root-forum.cern.ch/t/getting-the-c-standard-if-root-cxx-standard-is-not-set/59439 "2024-05-23T15:17:12Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![devajith](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/devajith/32/37165_2.png) [@devajith](https://root-forum.cern.ch/u/devajith)\
**Post date:** [May 24, 2024, 11:51am UTC](https://root-forum.cern.ch/t/getting-the-c-standard-if-root-cxx-standard-is-not-set/59439/2 "2024-05-24T11:51:14Z")

</div>

Hi @vaubee, thanks for providing your solution.

Original post for future reference: [CMake variable ROOT\_CXX\_STANDARD not set](https://root-forum.cern.ch/t/cmake-variable-root-cxx-standard-not-set/59207)

---

_[View the full topic](https://root-forum.cern.ch/t/getting-the-c-standard-if-root-cxx-standard-is-not-set/59439)._
