mirror of
https://github.com/Cantera/cantera.git
synced 2026-08-10 04:58:04 -05:00
[SCons] Fix duplicate target error when building MSI
This commit is contained in:
+4
-1
@@ -2117,7 +2117,10 @@ else:
|
||||
locations = ["libdir", "bindir", "python_bindir", "incdir", "incroot",
|
||||
"matlab_dir", "datadir", "sampledir", "docdir", "mandir"]
|
||||
for loc in locations:
|
||||
env[f"inst_{loc}"] = env[f"ct_{loc}"].replace(env["ct_installroot"], instRoot)
|
||||
if env["prefix"] == ".":
|
||||
env[f"inst_{loc}"] = (Path(instRoot) / env[f"ct_{loc}"]).as_posix()
|
||||
else:
|
||||
env[f"inst_{loc}"] = env[f"ct_{loc}"].replace(env["ct_installroot"], instRoot)
|
||||
|
||||
if env['use_rpath_linkage']:
|
||||
env.Append(RPATH=env['ct_libdir'])
|
||||
|
||||
Reference in New Issue
Block a user