diff --git a/CMakeLists.txt b/CMakeLists.txt index b05d2147..c61ecf35 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -123,7 +123,7 @@ if(CMAKE_SYSTEM_NAME STREQUAL "Windows") set(D_PLATFORM_WINDOWS 1) elseif(CMAKE_SYSTEM_NAME STREQUAL "Linux") set(D_PLATFORM_LINUX 1) -elseif(CMAKE_SYSTEM_NAME STREQUAL "Mac") +elseif(CMAKE_SYSTEM_NAME STREQUAL "Darwin") set(D_PLATFORM_MAC 1) else() message(FATAL_ERROR "Unknown platform, please file a bug with your exact setup if you believe this to be an error.")