From 36e65394063ff09927ab9d9f1e22609911a7258f Mon Sep 17 00:00:00 2001 From: Roman Chistokhodov Date: Tue, 13 Feb 2024 20:52:12 +0300 Subject: [PATCH] Fix check for processor in cmake --- CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 421d9c708c..963f1ff382 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -75,7 +75,10 @@ if((WIN32 OR ${CMAKE_SYSTEM_NAME} STREQUAL "Linux") OR CMAKE_SYSTEM_PROCESSOR STREQUAL "EM64T") AND NOT 64BIT) OR CMAKE_SYSTEM_PROCESSOR STREQUAL "x86" OR CMAKE_SYSTEM_PROCESSOR STREQUAL "X86" - OR CMAKE_SYSTEM_PROCESSOR STREQUAL "i386")) + OR CMAKE_SYSTEM_PROCESSOR STREQUAL "i386" + OR CMAKE_SYSTEM_PROCESSOR STREQUAL "i486" + OR CMAKE_SYSTEM_PROCESSOR STREQUAL "i586" + OR CMAKE_SYSTEM_PROCESSOR STREQUAL "i686")) option(GOLDSOURCE_SUPPORT "Build goldsource compatible client library" ON) else() option(GOLDSOURCE_SUPPORT "Build goldsource compatible client library" OFF)