BuildSystem: Add banan-os cmake platform

This commit is contained in:
2025-07-30 21:56:15 +03:00
parent 56d701492b
commit b46337d376
8 changed files with 40 additions and 1 deletions

View File

@@ -0,0 +1,9 @@
set(CMAKE_DL_LIBS "")
set(CMAKE_SHARED_LIBRARY_RPATH_ORIGIN_TOKEN "\$ORIGIN")
set(CMAKE_SHARED_LIBRARY_SUFFIX ".so")
# Shared libraries with no builtin soname may not be linked safely by
# specifying the file path.
set(CMAKE_PLATFORM_USES_PATH_WHEN_NO_SONAME 1)
include(Platform/UnixPaths)