mirror of
https://github.com/CoolProp/CoolProp.git
synced 2026-04-23 03:00:17 -04:00
Fix SWIG_LIB for swig+matlab on windows
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
This commit is contained in:
@@ -559,9 +559,9 @@ def swig_matlab_builder(platform, gitMode = 'incremental'):
|
||||
workdir= "build/build",
|
||||
haltOnFailure = True))
|
||||
if platform == 'windows':
|
||||
command = ["set", '"SWIG_LIB=swig-scilab-bin\\share\\swig\\3.0.3"', "&&", "cmake", "--build", ".", "--target", "install"]
|
||||
command = ["set", '"SWIG_LIB=swig-matlab-bin\\share\\swig\\3.0.3"', "&&", "cmake", "--build", ".", "--target", "install"]
|
||||
else:
|
||||
command = ["SWIG_LIB=swig-scilab-bin/share/swig/3.0.3", "cmake", "--build", ".", "--target", "install"]
|
||||
command = ["SWIG_LIB=swig-matlab-bin/share/swig/3.0.3", "cmake", "--build", ".", "--target", "install"]
|
||||
factory.addStep(ShellCommand(command=' '.join(command),
|
||||
workdir= "build/build",
|
||||
haltOnFailure = True))
|
||||
|
||||
Reference in New Issue
Block a user