File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -59,14 +59,14 @@ def build_extension(self, ext):
59
59
60
60
cfg = 'Debug' if self .debug else 'Release'
61
61
build_args = ['--config' , cfg ]
62
+ cmake_args += ['-DCMAKE_BUILD_TYPE=' + cfg ]
62
63
63
64
if platform .system () == "Windows" :
64
65
cmake_args += ['-DCMAKE_LIBRARY_OUTPUT_DIRECTORY_{}={}' .format (cfg .upper (), extdir )]
65
66
if sys .maxsize > 2 ** 32 :
66
67
cmake_args += ['-A' , 'x64' ]
67
68
build_args += ['--' , '/m:4' ]
68
69
else :
69
- cmake_args += ['-DCMAKE_BUILD_TYPE=' + cfg ]
70
70
build_args += ['--' , '-j2' ]
71
71
72
72
env = os .environ .copy ()
@@ -87,7 +87,7 @@ def build_extension(self, ext):
87
87
88
88
setup (
89
89
name = "polyfempy" ,
90
- version = "0.2. 3" ,
90
+ version = "0.3" ,
91
91
author = "Teseo Schneider" ,
92
92
author_email = "" ,
93
93
description = "Polyfem Python Bindings" ,
You can’t perform that action at this time.
0 commit comments