Skip to content

Commit 44abc93

Browse files
committed
disabled ui and opengl
1 parent 3c4e50d commit 44abc93

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

cmake/PolyfemPythonDownloadExternal.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ endfunction()
2727
function(polyfem_python_download_polyfem)
2828
polyfem_python_download_project(polyfem
2929
GIT_REPOSITORY https://github.com/polyfem/polyfem.git
30-
GIT_TAG fcf648d74a92871f048fac7bab523e756941e99d
30+
GIT_TAG fea71008f53cb8d28883fb27d59839930294e86f
3131
)
3232
endfunction()
3333

setup.py

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,17 @@ def run(self):
3636
def build_extension(self, ext):
3737
extdir = os.path.join(os.path.abspath(os.path.dirname(self.get_ext_fullpath(ext.name))),"polyfempy")
3838

39-
cmake_args = ['-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=' + extdir, '-DPYTHON_EXECUTABLE=' + sys.executable, '-DENABLE_PARDISO=OFF']
39+
cmake_args = ['-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=' + extdir, '-DPYTHON_EXECUTABLE=' + sys.executable,
40+
'-DENABLE_PARDISO=OFF',
41+
'-DLIBIGL_WITH_OPENGL=OFF',
42+
'-DLIBIGL_WITH_OPENGL_GLFW=OFF',
43+
'-DLIBIGL_WITH_OPENGL_GLFW_IMGUI=OFF',
44+
'-DLIBIGL_WITH_PNG=OFF',
45+
'-DLIBIGL_WITH_PNG=OFF',
46+
'-DLIBIGL_WITH_VIEWER=OFF',
47+
'-DGEOGRAM_WITH_GRAPHICS=OFF',
48+
'-DPOLYFEM_WITH_APPS=OFF',
49+
'-DPOLYFEM_WITH_MISC=OFF']
4050

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

0 commit comments

Comments
 (0)