Skip to content

Commit

Permalink
Fix include logic
Browse files Browse the repository at this point in the history
  • Loading branch information
tdealtry committed May 8, 2024
1 parent 8064986 commit fa25c76
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,14 @@ include(HKPackageBuilder)
hkbuilder_prepare_project()
hk_check_dependencies()

#add common functions directory
include_directories(src BEFORE)
add_subdirectory(src)

#add ABC tools
# This should really be improved to only be included for the inheriting tools, rather than all tools
include_directories(HKGFileWriterBase BEFORE)

# Add your tools here
hk_add_tool(WCSim_exe)
hk_add_tool(HKG4TrackingAction)
Expand Down
2 changes: 1 addition & 1 deletion HKG4PhysicsList/HKG4PhysicsList.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include "HKG4PhysicsList.h"

#include "../src/Utilities.h"
#include "Utilities.h"

#include "WCSimRunAction.hh"

Expand Down
2 changes: 1 addition & 1 deletion HKGFileWriterRootWCSim/HKGFileWriterRootWCSim.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#include "TTree.h"
#include "TFile.h"

#include "../HKGFileWriterBase/HKGFileWriterBase.h"
#include "HKGFileWriterBase.h"

#include <DataModel.h>
#include "Tool.h"
Expand Down

0 comments on commit fa25c76

Please sign in to comment.