mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-20 11:36:13 +00:00
Fix clang compiling
This commit is contained in:
parent
d8d09b5472
commit
92e90101e2
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue