Skip to content

Commit 4176bd9

Browse files
committed
Fix build for Clang in OS X.
1 parent a4057db commit 4176bd9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ endif()
3636

3737
if (${CMAKE_CXX_COMPILER_ID} MATCHES GNU)
3838
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall")
39+
elseif (${CMAKE_CXX_COMPILER_ID} MATCHES Clang)
40+
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -ftemplate-depth=256")
3941
endif()
4042

4143
if (Boost_FOUND)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy