From: ana Date: Wed, 16 Apr 2014 12:58:34 +0000 (+0400) Subject: Win32 compatibility X-Git-Tag: V7_4_0rc1~13 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=14de0cad38d5c6034d8f6f6b127583271863ad50;p=modules%2Fgui.git Win32 compatibility --- diff --git a/adm_local/cmake_files/UsePyQt4.cmake b/adm_local/cmake_files/UsePyQt4.cmake index 52a974295..11d2d1150 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}}) - ELSE(WIN32) + ELSEIF(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 @@ -105,7 +105,7 @@ MACRO(PYQT4_WRAP_UIC outfiles) ADD_DEPENDENCIES(${_uniqueTargetName} DEPEND ${_TgName}) SET(${outfiles} ${${outfiles}} ${_output}) ENDFOREACH() - ENDIF(WIN32) + ENDIF(NOT WIN32) ENDMACRO(PYQT4_WRAP_UIC) ####################################################################