mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-01-24 05:34:18 +00:00
cmake: fix wrong condition.
This commit is contained in:
parent
050092763e
commit
881f013742
@ -53,9 +53,13 @@ if (CMAKE_SIZEOF_VOID_P EQUAL 4 OR
|
|||||||
OR CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64"
|
OR CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64"
|
||||||
OR CMAKE_SYSTEM_PROCESSOR STREQUAL "amd64")))
|
OR CMAKE_SYSTEM_PROCESSOR STREQUAL "amd64")))
|
||||||
option(64BIT "Disable auto -m32 appending to compiler flags" OFF)
|
option(64BIT "Disable auto -m32 appending to compiler flags" OFF)
|
||||||
option(GOLDSOURCE_SUPPORT "Build goldsource compatible client library" ON)
|
|
||||||
else()
|
else()
|
||||||
option(64BIT "Disable auto -m32 appending to compiler flags" ON)
|
option(64BIT "Disable auto -m32 appending to compiler flags" ON)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
if ((WIN32 OR ${CMAKE_SYSTEM_NAME} STREQUAL "Linux" OR APPLE) AND NOT 64BIT)
|
||||||
|
option(GOLDSOURCE_SUPPORT "Build goldsource compatible client library" ON)
|
||||||
|
else()
|
||||||
option(GOLDSOURCE_SUPPORT "Build goldsource compatible client library" OFF)
|
option(GOLDSOURCE_SUPPORT "Build goldsource compatible client library" OFF)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user