Use "X86" as 32-bit OS/2 system processor CMake definition for OpenWatcom.

This commit is contained in:
2021-04-24 15:13:55 +01:00
parent 4de2eabb06
commit ea076dc481
2 changed files with 2 additions and 2 deletions

View File

@@ -22,7 +22,7 @@
# Copyright (C) 2011-2021 Natalia Portillo # Copyright (C) 2011-2021 Natalia Portillo
# *****************************************************************************/ # *****************************************************************************/
if(NOT ${CMAKE_SYSTEM_PROCESSOR} MATCHES "i386") if(NOT ${CMAKE_SYSTEM_PROCESSOR} MATCHES "i386|X86")
return() return()
endif() endif()

View File

@@ -42,5 +42,5 @@ add_compile_options(-3r)
add_compile_options(-mf) add_compile_options(-mf)
add_compile_options(-l=os2v2) add_compile_options(-l=os2v2)
set(CMAKE_SYSTEM_NAME OS2) set(CMAKE_SYSTEM_NAME OS2)
set(CMAKE_SYSTEM_PROCESSOR i386) set(CMAKE_SYSTEM_PROCESSOR X86)
set(CMAKE_C_COMPILER "${WATCOM_BIN_PATH}wcl386") set(CMAKE_C_COMPILER "${WATCOM_BIN_PATH}wcl386")