From 4d903e77e5df5925d8cb7433672e451c229bc0ae Mon Sep 17 00:00:00 2001
From: Attila Krasznahorkay <Attila.Krasznahorkay@cern.ch>
Date: Fri, 31 Mar 2017 13:25:03 +0200
Subject: [PATCH] As it turns out, the pyAMI build depends on AthPyFwdBwdPort's
 distribute installation. In a normal Makefile build this was never an issue.
 But with Ninja apparently it is...

---
 External/pyAMI/CMakeLists.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/External/pyAMI/CMakeLists.txt b/External/pyAMI/CMakeLists.txt
index 4fc2d2aa042..a44ea1e74da 100644
--- a/External/pyAMI/CMakeLists.txt
+++ b/External/pyAMI/CMakeLists.txt
@@ -38,6 +38,7 @@ function( _setup_python_package name file md5 )
 
    # Make the package target depend on this one:
    add_dependencies( Package_pyAMI ${name} )
+   add_dependencies( ${name} distribute )
 
    # Get the package directory:
    atlas_get_package_dir( pkgDir )
-- 
GitLab