mirror of
https://github.com/Xaymar/obs-StreamFX
synced 2024-11-10 22:05:06 +00:00
cmake: Check for "Darwin" instead of "Mac" to support MacOS
This commit is contained in:
parent
3d70814b93
commit
85a88902de
1 changed files with 1 additions and 1 deletions
|
@ -123,7 +123,7 @@ if(CMAKE_SYSTEM_NAME STREQUAL "Windows")
|
||||||
set(D_PLATFORM_WINDOWS 1)
|
set(D_PLATFORM_WINDOWS 1)
|
||||||
elseif(CMAKE_SYSTEM_NAME STREQUAL "Linux")
|
elseif(CMAKE_SYSTEM_NAME STREQUAL "Linux")
|
||||||
set(D_PLATFORM_LINUX 1)
|
set(D_PLATFORM_LINUX 1)
|
||||||
elseif(CMAKE_SYSTEM_NAME STREQUAL "Mac")
|
elseif(CMAKE_SYSTEM_NAME STREQUAL "Darwin")
|
||||||
set(D_PLATFORM_MAC 1)
|
set(D_PLATFORM_MAC 1)
|
||||||
else()
|
else()
|
||||||
message(FATAL_ERROR "Unknown platform, please file a bug with your exact setup if you believe this to be an error.")
|
message(FATAL_ERROR "Unknown platform, please file a bug with your exact setup if you believe this to be an error.")
|
||||||
|
|
Loading…
Reference in a new issue