Fix syntax error

This commit is contained in:
Guilhem Lavaux 2021-06-23 09:09:06 +02:00
parent a86c9a85c2
commit d1013ee784
2 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@ package:
version: "1.2.3" version: "1.2.3"
source: source:
git_rev: 793134d git_rev: a86c9a8
git_url: https://bitbucket.org/glavaux/cosmotool git_url: https://bitbucket.org/glavaux/cosmotool
requirements: requirements:

View File

@ -175,7 +175,7 @@ class BuildCMakeExt(build_ext):
("CMAKE_EXE_LINKER_FLAGS_INIT", "LDFLAGS"), ("CMAKE_EXE_LINKER_FLAGS_INIT", "LDFLAGS"),
("CMAKE_SHARED_LINKER_FLAGS_INIT", "LDFLAGS"), ("CMAKE_SHARED_LINKER_FLAGS_INIT", "LDFLAGS"),
("CMAKE_MODULE_LINKER_FLAGS_INIT", "LDFLAGS")] ("CMAKE_MODULE_LINKER_FLAGS_INIT", "LDFLAGS")]
for cmake_flag, os_flag: for cmake_flag, os_flag in fill_up_settings:
if os_flag in os.environ: if os_flag in os.environ:
compilers.append(f"-D{cmake_flag}={os.environ[os_flag]}") compilers.append(f"-D{cmake_flag}={os.environ[os_flag]}")