Set the CMAKE_CXX_STANDARD before finding DD4hep
Set the CMAKE_CXX_STANDARD before finding DD4hep. This is necessary as this causes an error if not done with CMake >= 3.19
I also enabled CMAKE_EXPORT_COMPILE_COMMANDS as this is useful for editors.
Edited by Ben Couturier