BuildSystem: Add banan-os cmake platform
This commit is contained in:
9
toolchain/cmake-platform/banan-os.cmake
Normal file
9
toolchain/cmake-platform/banan-os.cmake
Normal 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)
|
||||
Reference in New Issue
Block a user