mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-11-16 05:10:35 +01:00
2026-09-24 08:50:24
Signed-off-by: lizzie <lizzie@eden-emu.dev>
This commit is contained in:
parent
6a6b64a83c
commit
d72c2e90b9
1 changed files with 3 additions and 1 deletions
|
|
@ -297,10 +297,12 @@ if (YUZU_ROOM)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if (UNIX AND NOT (LINUX OR WIN32))
|
if (UNIX AND NOT (LINUX OR WIN32))
|
||||||
if(CXX_APPLE OR CXX_CLANG)
|
if(CXX_APPLE OR (CXX_CLANG AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS "20.0"))
|
||||||
# libc++ has stop_token and jthread as experimental
|
# libc++ has stop_token and jthread as experimental
|
||||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fexperimental-library")
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fexperimental-library")
|
||||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fexperimental-library")
|
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fexperimental-library")
|
||||||
|
elseif(CXX_CLANG)
|
||||||
|
# New clang >=20.0, so do nothing
|
||||||
else()
|
else()
|
||||||
# Uses glibc, mostly?
|
# Uses glibc, mostly?
|
||||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -D_LIBCPP_ENABLE_EXPERIMENTAL=1")
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -D_LIBCPP_ENABLE_EXPERIMENTAL=1")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue