aedi: prepend prefix bin path to environment variable

This commit is contained in:
alexey.lysiuk 2021-06-25 10:05:55 +03:00
parent 2e58efc866
commit 34c9aa6e53

View file

@ -80,9 +80,8 @@ class BuildTarget(Target):
os.makedirs(state.build_path, exist_ok=True)
env = self.environment
env['PATH'] = env['PATH'] \
+ os.pathsep + '/Applications/CMake.app/Contents/bin' \
+ os.pathsep + state.bin_path
env['PATH'] = state.bin_path + os.pathsep + env['PATH'] \
+ os.pathsep + '/Applications/CMake.app/Contents/bin'
if state.xcode:
return