We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 863e5a6 commit 722ebe9Copy full SHA for 722ebe9
cmake/Modules/DetectOS.cmake
@@ -5,6 +5,8 @@ elseif (CMAKE_SYSTEM_NAME MATCHES "Linux")
5
set(TARGET_PLATFORM_LINUX 1)
6
elseif (CMAKE_SYSTEM_NAME MATCHES "FreeBSD")
7
set(TARGET_PLATFORM_FREEBSD 1)
8
+elseif (CMAKE_SYSTEM_NAME MATCHES "Darwin")
9
+ set(TARGET_PLATFORM_MACOS 1)
10
else()
11
message(FATAL_ERROR "Unsupported OS: ${CMAKE_SYSTEM_NAME}")
12
endif ()
0 commit comments