From 14de0cad38d5c6034d8f6f6b127583271863ad50 Mon Sep 17 00:00:00 2001 From: ana Date: Wed, 16 Apr 2014 16:58:34 +0400 Subject: [PATCH] Win32 compatibility --- adm_local/cmake_files/UsePyQt4.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) #################################################################### -- 2.39.2