kopia lustrzana https://github.com/OpenDroneMap/ODM
Use dummy CUDA DLL
rodzic
1dd0b4b457
commit
792500bd1b
|
@ -36,10 +36,12 @@ if(UNIX)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(WIN32)
|
if(WIN32)
|
||||||
SET(NVDRIVER "$ENV{SystemRoot}\\System32\\nvcuda.dll")
|
# On Windows systems without NVIDIA GPUs, OpenMVS will not launch
|
||||||
if (EXISTS ${NVDRIVER})
|
# unless a CUDA DLL is available; we download a dummy DLL
|
||||||
file(COPY ${NVDRIVER} DESTINATION "${SB_INSTALL_DIR}/bin")
|
# generated with https://github.com/ykhwong/dummy-dll-generator that is
|
||||||
endif()
|
# loaded UNLESS the real CUDA DLL is available, since it will
|
||||||
|
# be loaded before our dummy DLL.
|
||||||
|
file(DOWNLOAD "https://github.com/OpenDroneMap/windows-deps/releases/download/2.5.0/nvcuda_dummy.dll" "${SB_INSTALL_DIR}/bin/nvcuda.dll")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
ExternalProject_Add(${_proj_name}
|
ExternalProject_Add(${_proj_name}
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
import os
|
import os
|
||||||
|
import sys
|
||||||
from opendm import log
|
from opendm import log
|
||||||
from repoze.lru import lru_cache
|
from repoze.lru import lru_cache
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue