Skip to content

Commit 768d44e

Browse files
authored
Merge pull request #2467 from ERGO-Code/python-failures
Python build failures
2 parents b3406f0 + 2b0ecea commit 768d44e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

cmake/python-highs.cmake

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,10 @@ if(MSVC)
5555
target_compile_options(_core PRIVATE "/bigobj")
5656
endif()
5757

58+
if (NOT MSVC)
59+
target_compile_options(_core PRIVATE "-ftemplate-depth=2048")
60+
endif()
61+
5862
# if(MSVC)
5963
# # Try to split large pdb files into objects.
6064
# # https://github.com/tensorflow/tensorflow/issues/31610

0 commit comments

Comments
 (0)