[cmake] do not use CMAKE_OSX_ARCHITECTURES for check

Signed-off-by: R4SAS <r4sas@i2pmail.org>
This commit is contained in:
R4SAS 2022-02-14 23:53:55 +03:00
parent dc5cba60d1
commit 05c1856389
No known key found for this signature in database
GPG Key ID: 66F6C87B98EBCFE2

View File

@ -97,7 +97,7 @@ if(WITH_UPNP)
add_definitions(-DUSE_UPNP) add_definitions(-DUSE_UPNP)
endif() endif()
if(APPLE AND CMAKE_OSX_ARCHITECTURES) if(APPLE)
add_definitions(-DMAC_OSX) add_definitions(-DMAC_OSX)
endif() endif()