summaryrefslogtreecommitdiffstats
path: root/Modules/InstallRequiredSystemLibraries.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-03-20 13:22:30 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2014-03-20 13:22:30 (GMT)
commitd8fb08a391bddaa2f34dfe913186010a00754c6f (patch)
tree26403936eae585242e0f66fb548cae622e8ecdc2 /Modules/InstallRequiredSystemLibraries.cmake
parent565213c1fd2d439ebb404cf26f9b1a5c9e9a60e1 (diff)
parent64c2342a8d0f3e655349d3897d2dee46a89aaedc (diff)
downloadCMake-d8fb08a391bddaa2f34dfe913186010a00754c6f.zip
CMake-d8fb08a391bddaa2f34dfe913186010a00754c6f.tar.gz
CMake-d8fb08a391bddaa2f34dfe913186010a00754c6f.tar.bz2
Merge topic 'watcom-updates'
64c2342a Watcom: Enable 'WMake Makefiles' generator on Linux 5d9aa66c Watcom: Introduce OpenWatcom compiler id and fix compiler version 9292d3b8 Watcom: Detect compiler target architecture and platform fbc883c9 Watcom: Add one blank line to Makefile for better readability
Diffstat (limited to 'Modules/InstallRequiredSystemLibraries.cmake')
-rw-r--r--Modules/InstallRequiredSystemLibraries.cmake4
1 files changed, 0 insertions, 4 deletions
diff --git a/Modules/InstallRequiredSystemLibraries.cmake b/Modules/InstallRequiredSystemLibraries.cmake
index 7e68e8f..4b551e6 100644
--- a/Modules/InstallRequiredSystemLibraries.cmake
+++ b/Modules/InstallRequiredSystemLibraries.cmake
@@ -374,10 +374,6 @@ 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} GREATER 11)
- math(EXPR _watcom_major "${_watcom_major} - 11")
- endif()
- math(EXPR _watcom_minor "${_watcom_minor} / 10")
set( __install__libs
${CompilerPath}/clbr${_watcom_major}${_watcom_minor}.dll
${CompilerPath}/mt7r${_watcom_major}${_watcom_minor}.dll