kopia lustrzana https://github.com/OpenDroneMap/ODM
rodzic
41ad541aa2
commit
a83490a2e7
|
@ -60,7 +60,6 @@ def vcpkg_requirements():
|
||||||
with open("vcpkg-requirements.txt") as f:
|
with open("vcpkg-requirements.txt") as f:
|
||||||
pckgs = list(filter(lambda l: len(l) > 0, map(str.strip, f.read().split("\n"))))
|
pckgs = list(filter(lambda l: len(l) > 0, map(str.strip, f.read().split("\n"))))
|
||||||
return pckgs
|
return pckgs
|
||||||
|
|
||||||
|
|
||||||
def build():
|
def build():
|
||||||
# Create python virtual env
|
# Create python virtual env
|
||||||
|
@ -94,6 +93,7 @@ def build():
|
||||||
os.rename(top_dir, "vcpkg")
|
os.rename(top_dir, "vcpkg")
|
||||||
else:
|
else:
|
||||||
print("Warning! Something looks wrong in the VCPKG archive... check the vcpkg/ directory.")
|
print("Warning! Something looks wrong in the VCPKG archive... check the vcpkg/ directory.")
|
||||||
|
safe_remove("vcpkg-env.zip")
|
||||||
|
|
||||||
if not os.path.exists(os.path.join("SuperBuild", "build")) or not os.path.exists(os.path.join("SuperBuild", "install")):
|
if not os.path.exists(os.path.join("SuperBuild", "build")) or not os.path.exists(os.path.join("SuperBuild", "install")):
|
||||||
print("Compiling SuperBuild")
|
print("Compiling SuperBuild")
|
||||||
|
|
Ładowanie…
Reference in New Issue