Fix syntax error
This commit is contained in:
parent
a86c9a85c2
commit
d1013ee784
@ -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:
|
||||||
|
2
setup.py
2
setup.py
@ -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]}")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user