mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-10-31 18:21:16 +01:00
extra portability adjustments
This commit is contained in:
parent
9195b1ede4
commit
19852c453f
6 changed files with 41 additions and 28 deletions
13
externals/CMakeLists.txt
vendored
13
externals/CMakeLists.txt
vendored
|
|
@ -448,3 +448,16 @@ if (APPLE)
|
|||
set(MOLTENVK_LIBRARY "${moltenvk_SOURCE_DIR}/MoltenVK/dylib/macOS/libMoltenVK.dylib" CACHE STRING "" FORCE)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
# We are NOT adding this to cpmfile.json
|
||||
# In BSD world, it is often the case that X11
|
||||
# will be under /usr/X11R{5,6,7}/include/...
|
||||
# ...
|
||||
# FreeBSD was able to see with hindsight this was a bad idea.
|
||||
# OpenBSD, OmniOS and NetBSD by default, aren't illuminated yet by this notion.
|
||||
#
|
||||
# Reliance on X11 Headers being available without explicitly
|
||||
# linking or mentioning X11 is something to note.
|
||||
if (NOT (WIN32 OR APPLE OR ANDROID OR HAIKU OR PS4))
|
||||
find_package(X11 REQUIRED)
|
||||
endif()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue