# Add one more variable in ROOT 7 build command

**URL:** <https://root-forum.cern.ch/t/add-one-more-variable-in-root-7-build-command/38229>\
**Category:** Newbie\
**Created:** [March 3, 2020, 2:49am UTC](https://root-forum.cern.ch/t/add-one-more-variable-in-root-7-build-command/38229 "2020-03-03T02:49:11Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rudradesai200](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/rudradesai200/32/21038_2.png) [@rudradesai200](https://root-forum.cern.ch/u/rudradesai200)\
**Post date:** [March 3, 2020, 2:49am UTC](https://root-forum.cern.ch/t/add-one-more-variable-in-root-7-build-command/38229/1 "2020-03-03T02:49:11Z")

</div>

[https://root.cern/root-7](https://root.cern/root-7) - - on this page a command is given to help build root 7, it should be slightly modified as, it is not building root 7 experimental files properly.  
I found this command working

cmake -DCMAKE\_CXX\_STANDARD=14 - DROOT7=True path/to/root/source

Instead of this command  
cmake -DCMAKE\_CXX\_STANDARD=14 path/to/root/source.

---

<div class="post-metadata">

**Author:** ![eguiraud](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/eguiraud/32/32217_2.png) [@eguiraud](https://root-forum.cern.ch/u/eguiraud)\
**Post date:** [March 9, 2020, 6:26pm UTC](https://root-forum.cern.ch/t/add-one-more-variable-in-root-7-build-command/38229/2 "2020-03-09T18:26:26Z")

</div>

Hi @rudradesai200,  
welcome to the ROOT forum and sorry for the delay.  
@amadio or @Axel might know whether `-DCMAKE_CXX_STANDARD=14` should set `-DROOT7=True` (like the docs seem to imply) or it is required to specify it explicitly.

Cheers,  
Enrico

---

<div class="post-metadata">

**Author:** ![amadio](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/amadio/32/12562_2.png) [@amadio](https://root-forum.cern.ch/u/amadio)\
**Post date:** [March 10, 2020, 9:38am UTC](https://root-forum.cern.ch/t/add-one-more-variable-in-root-7-build-command/38229/3 "2020-03-10T09:38:59Z")

</div>

> [@rudradesai200](#):
>
> cmake -DCMAKE\_CXX\_STANDARD=14 - DROOT7=True

You don’t need `-DROOT7=true`, the option is called `-Droot7=True` and gets enabled by default when you use C++14 and above (which is a requirement to enable it).
