You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CMAKE_CXX_FLAGS, set by hand in ROOTUseFile.cmake, includes a specification on cxx standard, which should be specified rather by CMAKE_CXX_STANDARD variable.
In a projects using ROOT, the inclusion causes doubly-specified cxx-standard in their compile procedure, and the maintainer transferred me here; see the thread here:
Describe the bug
CMAKE_CXX_FLAGS
, set by hand inROOTUseFile.cmake
, includes a specification on cxx standard, which should be specified rather byCMAKE_CXX_STANDARD
variable.In a projects using ROOT, the inclusion causes doubly-specified cxx-standard in their compile procedure, and the maintainer transferred me here; see the thread here:
iLCSoft/LCIO#109 (comment)
Expected behavior
--std=
options should be set inCMAKE_CXX_STANDARD
, rather thanCMAKE_CXX_FLAGS
.To Reproduce
see iLCSoft/LCIO#109 (comment)
Setup
ROOT Docker images: docker pull rootproject/root:6.22.02-ubuntu20.04, ran on docker on WSL2.
The text was updated successfully, but these errors were encountered: