Skip to content

Commit c5c25f9

Browse files
authored
Update setup.py
1 parent efc994f commit c5c25f9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@ def build_extension(self, ext):
4949
'-DPYTHON_EXECUTABLE=' + sys.executable,
5050
'-DPYTHON_INCLUDE_DIR=' + python_include_directory,
5151
'-DPOLYSOLVE_WITH_SPECTRA=OFF',
52-
'-DPOLYSOLVE_WITH_AMGCL=OFF']
52+
'-DPOLYSOLVE_WITH_AMGCL=OFF',
53+
'-DCMAKE_POLICY_VERSION_MINIMUM=3.5']
5354

5455
cfg = 'Debug' if self.debug else 'Release'
5556
build_args = ['--config', cfg]

0 commit comments

Comments
 (0)