We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 887dc08 commit 2585233Copy full SHA for 2585233
cmake/python-highs.cmake
@@ -18,7 +18,7 @@ set(headers_python ${highs_headers_python}
18
19
# Find Python 3
20
find_package(Python COMPONENTS Interpreter Development.Module REQUIRED)
21
-find_package(pybind11 CONFIG)
+find_package(pybind11 CONFIG REQUIRED)
22
23
python_add_library(_core MODULE highs/highs_bindings.cpp WITH_SOABI)
24
@@ -55,6 +55,10 @@ if(MSVC)
55
target_compile_options(_core PRIVATE "/bigobj")
56
endif()
57
58
+if (NOT MSVC)
59
+ target_compile_options(_core PRIVATE "-ftemplate-depth=2048")
60
+endif()
61
+
62
# if(MSVC)
63
# # Try to split large pdb files into objects.
64
# # https://github.com/tensorflow/tensorflow/issues/31610
0 commit comments