From 015a4ada6087e276acbd06b91b69cdaa898366dc Mon Sep 17 00:00:00 2001 From: barate Date: Wed, 26 Oct 2011 15:25:22 +0000 Subject: [PATCH] Fix Python UI generation when building with CMake --- salome_adm/cmake_files/am2cmake.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/salome_adm/cmake_files/am2cmake.py b/salome_adm/cmake_files/am2cmake.py index 2a10d1a26..9bfddcc5d 100644 --- a/salome_adm/cmake_files/am2cmake.py +++ b/salome_adm/cmake_files/am2cmake.py @@ -1457,7 +1457,7 @@ class CMakeFile(object): if self.__thedict__.has_key(key): newlines.append(''' FOREACH(output ${PYUIC_FILES}) - STRING(REPLACE ".py" ".ui" input ${output}) + STRING(REPLACE "_ui.py" ".ui" input ${output}) SET(input ${CMAKE_CURRENT_SOURCE_DIR}/${input}) SET(output ${CMAKE_CURRENT_BINARY_DIR}/${output}) ADD_CUSTOM_COMMAND( -- 2.39.2