X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=adm_local%2Fcmake_files%2FUsePyQt4.cmake;h=bad5488ac6e6bb3845d6ff69abb992c96a8b300d;hb=3a0ba13afff7a465ade65e11e7b84f22a658bea4;hp=be39d15b69aecf078f8597912f24b7b88dedb167;hpb=c4b058d18583af7f94042eb55d4b933dd222d2e6;p=modules%2Fgui.git diff --git a/adm_local/cmake_files/UsePyQt4.cmake b/adm_local/cmake_files/UsePyQt4.cmake index be39d15b6..bad5488ac 100644 --- a/adm_local/cmake_files/UsePyQt4.cmake +++ b/adm_local/cmake_files/UsePyQt4.cmake @@ -80,7 +80,7 @@ MACRO(PYQT4_WRAP_UIC outfiles) _PYQT4_WRAP_GET_UNIQUE_TARGET_NAME(BUILD_UI_PY_FILES _uniqueTargetName) ADD_CUSTOM_TARGET(${_uniqueTargetName} ALL DEPENDS ${${outfiles}}) - ELSEIF(NOT WIN32) + ELSE(NOT WIN32) #### # ANA: Workaround for the Microsoft Visual Studio 2010. Seems there is a bug in # the Microsoft Visual Studio 2010 or CMake 2.8.10.2: custom target doesn't work @@ -98,7 +98,6 @@ MACRO(PYQT4_WRAP_UIC outfiles) SET(_output ${CMAKE_CURRENT_BINARY_DIR}/${_input_name}) _PYQT4_WRAP_GET_UNIQUE_TARGET_NAME(BUILD_UI_PY_FILES _TgName) ADD_CUSTOM_TARGET(${_TgName} ${PYQT_PYUIC_PATH} -o ${_output} ${CMAKE_CURRENT_SOURCE_DIR}/${_input} - COMMENT ANA:${_output} DEPENDS ${_input} ) SET_TARGET_PROPERTIES(${_TgName} PROPERTIES FOLDER PYQT4_WRAP_UIC_TARGETS)