Skip to content

Commit

Permalink
fix parseConstants available in PYTHONPATH at genConfDir for Gaudi
Browse files Browse the repository at this point in the history
  • Loading branch information
fdplacido committed Jan 25, 2022
1 parent 5ba9909 commit 199b940
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions k4MarlinWrapper/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -77,3 +77,10 @@ gaudi_add_module(Lcio2EDM4hep
target_include_directories(Lcio2EDM4hep PUBLIC
${CMAKE_SOURCE_DIR}/k4MarlinWrapper
)

# Copy python parsing file to genConfDir in Gaudi
add_custom_command(
TARGET MarlinWrapper POST_BUILD
COMMAND ${CMAKE_COMMAND} -E copy
${CMAKE_SOURCE_DIR}/k4MarlinWrapper/python/k4MarlinWrapper/parseConstants.py
${CMAKE_CURRENT_BINARY_DIR}/genConfDir/k4MarlinWrapper/parseConstants.py)

0 comments on commit 199b940

Please sign in to comment.