> On 03/04/2014 10:46 AM, Jiri Malak wrote:
>>> On 03/03/2014 03:43 PM, Jiri Malak wrote:
>>> should use math(EXPR) to do numerical computation.
>>>
>> I fixed it now.
>
> Applied, thanks:
>
>  Remove hard-coded version of RTDLL for Open Watcom
>  http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=ee01b7ee
>
> -Brad
>
>
Brad,

Sorry, I find my mistake in previous patch.
I enclosed fix for it.

Jiri
>From ab6840f4d573736a7ada046a8334132d222b000b Mon Sep 17 00:00:00 2001
From: Jiri Malak <[email protected]>
Date: Tue, 4 Mar 2014 21:56:52 +0100
Subject: [PATCH] fix mistake in if comparision

---
 Modules/InstallRequiredSystemLibraries.cmake | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Modules/InstallRequiredSystemLibraries.cmake b/Modules/InstallRequiredSystemLibraries.cmake
index b382090..e9fce93 100644
--- a/Modules/InstallRequiredSystemLibraries.cmake
+++ b/Modules/InstallRequiredSystemLibraries.cmake
@@ -374,7 +374,7 @@ if(WATCOM)
   string(REGEX MATCHALL "[0-9]+" _watcom_version_list "${_compiler_version}")
   list(GET _watcom_version_list 0 _watcom_major)
   list(GET _watcom_version_list 1 _watcom_minor)
-  if(${_watcom_major} > 11)
+  if(${_watcom_major} GREATER 11)
     math(EXPR _watcom_major "${_watcom_major} - 11")
   endif()
   math(EXPR _watcom_minor "${_watcom_minor} / 10")
-- 
1.8.1.4
-- 

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

Reply via email to