mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-05 20:13:44 +02:00
set CMAKE_SYSTEM_PROCESSOR to x86
This commit is contained in:
parent
3268effabf
commit
74ce98f39b
1 changed files with 1 additions and 0 deletions
|
@ -106,6 +106,7 @@ else(WIN32)
|
|||
)
|
||||
option(BUILD_32BIT "Force building as 32-bit binary")
|
||||
if(BUILD_32BIT)
|
||||
set(CMAKE_SYSTEM_PROCESSOR "x86" CACHE STRING "system processor")
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -m32" CACHE STRING "c++ flags")
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -m32" CACHE STRING "c flags")
|
||||
endif(BUILD_32BIT)
|
||||
|
|
Loading…
Add table
Reference in a new issue