]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Win32 compatibility
authorana <ana@opencascade.com>
Wed, 16 Apr 2014 12:58:34 +0000 (16:58 +0400)
committerana <ana@opencascade.com>
Wed, 16 Apr 2014 12:58:34 +0000 (16:58 +0400)
adm_local/cmake_files/UsePyQt4.cmake

index 52a9742953ebbf3322e80edf0b679c8b6b224c07..11d2d115020c543ca77ceb89f0ced901193f05f0 100644 (file)
@@ -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)
 
 ####################################################################