diff --git a/cmake/thisdd4hep.sh b/cmake/thisdd4hep.sh index 2f6f369989af2caf42f46df783c618c2b3f9e661..f6da3ecaab5dbb3ea43dad3eeff7a465816ccaa7 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; #-----------------------------------------------------------------------------