mirror of
https://github.com/aaru-dps/fstester.git
synced 2025-12-16 19:24:39 +00:00
Use "X86" as 32-bit OS/2 system processor CMake definition for OpenWatcom.
This commit is contained in:
@@ -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()
|
||||||
|
|
||||||
|
|||||||
@@ -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")
|
||||||
|
|||||||
Reference in New Issue
Block a user