1
0
Fork 0
mirror of https://github.com/EdgeTX/edgetx.git synced 2025-07-24 16:55:15 +03:00

Fix for stretch cmake in docker environment

This commit is contained in:
3djc 2017-12-21 20:47:24 +01:00
parent 18ff09d52f
commit 04ab98a634

View file

@ -190,6 +190,10 @@ def build_firmware(path):
srcdir = os.path.dirname(os.path.realpath(__file__)) + "/../.."
outpath = path + ".out"
# cmake 3.7.2 cannot work from / so we need to go into a subdir
os.mkdir("/build")
os.chdir("/build")
# Launch CMake
cmd = ["cmake"]
for opt, value in command_options.items():