From 92e90101e250ac36692c76c256ee6c86a829d5de Mon Sep 17 00:00:00 2001 From: Danila Malyutin Date: Tue, 13 Oct 2015 23:32:25 +0300 Subject: [PATCH] Fix clang compiling --- rpcs3/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/rpcs3/CMakeLists.txt b/rpcs3/CMakeLists.txt index 804cf49588..512c5960c0 100644 --- a/rpcs3/CMakeLists.txt +++ b/rpcs3/CMakeLists.txt @@ -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()