mirror of
https://github.com/RPCSX/rpcsx.git
synced 2025-12-06 07:12:14 +01:00
Fix clang compiling
This commit is contained in:
parent
d8d09b5472
commit
92e90101e2
|
|
@ -19,6 +19,7 @@ if(CMAKE_COMPILER_IS_GNUCXX)
|
|||
# Warnings
|
||||
add_compile_options(-Wno-attributes -Wno-enum-compare -Wno-invalid-offsetof)
|
||||
elseif("${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang")
|
||||
add_compile_options(-ftemplate-depth=1024)
|
||||
if(APPLE)
|
||||
add_compile_options(-stdlib=libc++)
|
||||
endif()
|
||||
|
|
|
|||
Loading…
Reference in a new issue