From ee6314d0e4fe0a210f46c36ffda143ef5691dff5 Mon Sep 17 00:00:00 2001
From: Andreas Schenk <andreas_schenk@hms.harvard.edu>
Date: Fri, 14 Sep 2012 14:16:18 -0400
Subject: [PATCH] added missing dependency for ui file compilation

---
 cmake_support/OST.cmake | 1 +
 1 file changed, 1 insertion(+)

diff --git a/cmake_support/OST.cmake b/cmake_support/OST.cmake
index 4375d4d5f..fb478ec08 100644
--- a/cmake_support/OST.cmake
+++ b/cmake_support/OST.cmake
@@ -444,6 +444,7 @@ endmacro()
 macro(ui_to_python LIBNAME PYMODDIR STAGEDIR)
   set(_input_files ${ARGN})
   add_custom_target("${LIBNAME}_ui" ALL)
+  add_dependencies("_${LIBNAME}" "${LIBNAME}_ui")
   find_program(_PYUIC_EXECUTABLE
     NAMES pyuic4-${PYTHON_VERSION} pyuic4 pyuic
     PATHS  ENV PATH 
-- 
GitLab