Skip to content

Commit 37b7182

Browse files
authored
fix xpu compile error (#31224)
1 parent 256103a commit 37b7182

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cmake/external/xpu.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ else()
4949
SET(XPU_API_INC_DIR "${XPU_SDK_ROOT}/XTDK/include/")
5050
SET(XPU_API_LIB "${XPU_SDK_ROOT}/XTDK/shlib/libxpuapi.so")
5151
SET(XPU_RT_LIB "${XPU_SDK_ROOT}/XTDK/runtime/shlib/libxpurt.so")
52+
SET(XPU_LIB_DIR "${XPU_SDK_ROOT}/XTDK/shlib/")
5253
endif()
5354

5455
INCLUDE_DIRECTORIES(${XPU_API_INC_DIR})

0 commit comments

Comments
 (0)