1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-16 06:22:09 +00:00
serenity/Toolchain/CMake/Platform/SerenityOS.cmake
Andrew Kaster 05058d185c Toolchain: Update Platform files to match those in upstream cmake
Serenity support was merged into the CMake master branch for the 3.25.0
milestone (https://gitlab.kitware.com/cmake/cmake/-/merge_requests/6837)

Remove some settings that are now redundant from the Toolchain files.
2022-06-29 13:36:38 +01:00

12 lines
316 B
CMake

set(SERENITYOS 1)
set(CMAKE_DL_LIBS "-ldl")
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)