Skip to content

Commit

Permalink
cmake: Add support for visionOS from Apple
Browse files Browse the repository at this point in the history
  • Loading branch information
saprykin committed Nov 22, 2024
1 parent d4f50a0 commit 783d4f7
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions platforms/visionos-clang/platform.cmake
Original file line number Diff line number Diff line change
@@ -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
)

0 comments on commit 783d4f7

Please sign in to comment.