[Bug Fix] fix fastdeploy & paddle import conflict on windows (#1796)

Update paddle_inference.cmake
This commit is contained in:
DefTruth
2023-04-12 09:32:08 +08:00
committed by GitHub
parent 9ec419129f
commit d1da460230

View File

@@ -84,7 +84,8 @@ else()
if(WIN32)
set(PADDLEINFERENCE_VERSION "2.4-dev6") # dev7 for win is not ready now!
if (WITH_GPU)
set(PADDLEINFERENCE_FILE "paddle_inference-win-x64-gpu-trt-${PADDLEINFERENCE_VERSION}.zip")
# set(PADDLEINFERENCE_FILE "paddle_inference-win-x64-gpu-trt-${PADDLEINFERENCE_VERSION}.zip")
set(PADDLEINFERENCE_FILE "paddle_inference-win-x64-gpu-trt-2.4-dev-20230410.zip")
else()
set(PADDLEINFERENCE_FILE "paddle_inference-win-x64-${PADDLEINFERENCE_VERSION}.zip")
endif()