File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed
examples/simulation/Tutorial1/macros Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -222,7 +222,7 @@ set(FAIRROOT_LIBRARY_PROPERTIES ${FAIRROOT_LIBRARY_PROPERTIES}
222222)
223223set (PROJECT_LIBRARY_PROPERTIES ${FAIRROOT_LIBRARY_PROPERTIES} )
224224
225- find_package2(PUBLIC yaml-cpp)
225+ find_package2(PUBLIC yaml-cpp REQUIRED )
226226# Workaround missing exported include directories
227227# Upstream has fixed this in https://github.com/jbeder/yaml-cpp/commit/ab5f9259a4e67d3fe0e4832bd407a9e596e2d884 (since 0.6.3)
228228if (yaml-cpp_FOUND)
Original file line number Diff line number Diff line change 66 * copied verbatim in the file "LICENSE" *
77 ********************************************************************************/
88
9- #if !defined(__CLING__ ) || defined(__ROOTCLING__ )
10- #include <iostream>
119#include "FairBoxGenerator.h"
1210#include "FairCave.h"
1311#include "FairParRootFileIo.h"
2220#include <TRandom3.h>
2321#include <TStopwatch.h>
2422
23+ #if !defined(__CLING__ ) || defined(__ROOTCLING__ )
24+ #include <iostream>
25+
2526using std ::cout ;
2627using std ::endl ;
2728#endif
Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ void FairYamlVMCConfig::SetupPostInit(const char* mcEngine)
6969 if (!((strcmp (mcEngine, " TGeant4" ) == 0 ))) {
7070 LOG (fatal) << " FairYamlVMCConfig::SetupPostInit() only valid for TGeant4." ;
7171 }
72- LOG (info) << " Loading Geant4 PostInit Config." << endl ;
72+ LOG (info) << " Loading Geant4 PostInit Config." ;
7373
7474 TString work = getenv (" VMCWORKDIR" );
7575 TString work_config = work + " /gconfig/" ;
You can’t perform that action at this time.
0 commit comments