Browse Source

let openbsd be fucked then i guess (FOR NOW)

lizzie/netbsdgcc14-fix
lizzie 2 months ago
committed by crueter
parent
commit
b100b47a2d
  1. 4
      CMakeLists.txt
  2. 2
      docs/Caveats.md
  3. 6
      src/video_core/CMakeLists.txt

4
CMakeLists.txt

@ -24,8 +24,8 @@ include(CMakeDependentOption)
include(CTest)
include(CPMUtil)
if (NOT DEFINED ARCHITECTURE)
message(FATAL_ERROR "Architecture didn't make it out of scope, did you delete DetectArchitecture.cmake?")
if (CXX_GCC AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS "14.0")
message(FATAL_ERROR "You must use gcc14 (or newer) feel free to fix clang yourself otherwise.")
endif()
if (OPENBSD)

2
docs/Caveats.md

@ -90,6 +90,8 @@ If it wasn't obvious already, you require a X11 server to properly run the emula
For Solaris based OSes, `${CMAKE_SYSTEM_NAME}` isn't properly set on CMake (it's set to i686 on AMD64), you may find issues when building OpenSSL from `openssl-cmake`.
For Solaris based OSes, `${CMAKE_SYSTEM_NAME}` isn't properly set on CMake (it's set to i686 on AMD64), you may find issues when building OpenSSL from `openssl-cmake`.
## HaikuOS
It's recommended to do a `pkgman full-sync` before installing. See [HaikuOS: Installing applications](https://www.haiku-os.org/guides/daily-tasks/install-applications/). Sometimes the process may be interrupted by an error like "Interrupted syscall". Simply firing the command again fixes the issue. By default `g++` is included on the default installation.

6
src/video_core/CMakeLists.txt

@ -405,11 +405,7 @@ if (ENABLE_OPENGL)
)
endif()
# Since this is also used by header-only whom is public:
# a) you must also make it public
# b) should precede the headers themselves
# c) since targets also export targets publicly, this should precede them as well
# must match src/video_core/vulkan_common/vulkan.h logic
# Must match src/video_core/vulkan_common/vulkan.h X11 logic
if (WIN32 OR APPLE OR ANDROID OR PLATFORM_HAIKU OR PLATFORM_PS4)
# ...
else()

Loading…
Cancel
Save