From: barate Date: Wed, 26 Oct 2011 15:25:22 +0000 (+0000) Subject: Fix Python UI generation when building with CMake X-Git-Tag: Before_0020136~7 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=015a4ada6087e276acbd06b91b69cdaa898366dc;p=modules%2Fkernel.git Fix Python UI generation when building with CMake --- 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(