From 783d4f7d49274ebecd78197fd208c0e667ac36d4 Mon Sep 17 00:00:00 2001 From: Alexander Saprykin Date: Sat, 23 Nov 2024 00:07:07 +0100 Subject: [PATCH] cmake: Add support for visionOS from Apple --- platforms/visionos-clang/platform.cmake | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 platforms/visionos-clang/platform.cmake diff --git a/platforms/visionos-clang/platform.cmake b/platforms/visionos-clang/platform.cmake new file mode 100644 index 00000000..38771bec --- /dev/null +++ b/platforms/visionos-clang/platform.cmake @@ -0,0 +1,9 @@ +set (PLIBSYS_THREAD_MODEL posix) +set (PLIBSYS_IPC_MODEL posix) +set (PLIBSYS_TIME_PROFILER_MODEL mach) +set (PLIBSYS_DIR_MODEL posix) +set (PLIBSYS_LIBRARYLOADER_MODEL posix) + +set (PLIBSYS_PLATFORM_DEFINES + -D_REENTRANT +)