mirror of https://github.com/PCSX2/pcsx2.git
cmake: Quiet macOS building warning, we can build on macOS just fine. (#8136)
This commit is contained in:
parent
a615f8bf17
commit
cf179c42b8
|
@ -10,8 +10,9 @@ function(detectOperatingSystem)
|
||||||
if(WIN32)
|
if(WIN32)
|
||||||
set(Windows TRUE PARENT_SCOPE)
|
set(Windows TRUE PARENT_SCOPE)
|
||||||
elseif(UNIX AND APPLE)
|
elseif(UNIX AND APPLE)
|
||||||
# No easy way to filter out iOS.
|
if(IOS)
|
||||||
message(WARNING "OS X/iOS isn't supported, the build will most likely fail")
|
message(WARNING "iOS isn't supported, the build will most likely fail")
|
||||||
|
endif()
|
||||||
set(MacOSX TRUE PARENT_SCOPE)
|
set(MacOSX TRUE PARENT_SCOPE)
|
||||||
elseif(UNIX)
|
elseif(UNIX)
|
||||||
if(CMAKE_SYSTEM_NAME MATCHES "Linux")
|
if(CMAKE_SYSTEM_NAME MATCHES "Linux")
|
||||||
|
|
Loading…
Reference in New Issue