From 9ac5886d76b5f36d101f39889f22409f7ed0e610 Mon Sep 17 00:00:00 2001 From: Marko Petric <marko.petric@cern.ch> Date: Tue, 24 Sep 2019 17:22:12 +0200 Subject: [PATCH] Fix location of dd4hep python modules in init file --- cmake/thisdd4hep.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/thisdd4hep.sh b/cmake/thisdd4hep.sh index 2f6f36998..f6da3ecaa 100644 --- a/cmake/thisdd4hep.sh +++ b/cmake/thisdd4hep.sh @@ -112,7 +112,7 @@ dd4hep_add_path PATH ${THIS}/bin; #----LIBRARY_PATH------------------------------------------------------------- dd4hep_add_library_path ${THIS}/lib; #----PYTHONPATH--------------------------------------------------------------- -dd4hep_add_path PYTHONPATH ${THIS}/python; +dd4hep_add_path PYTHONPATH ${THIS}/lib/python@Python_VERSION_MAJOR@.@Python_VERSION_MINOR@/site-packages; #----ROOT_INCLUDE_PATH-------------------------------------------------------- dd4hep_add_path ROOT_INCLUDE_PATH ${THIS}/include; #----------------------------------------------------------------------------- -- GitLab