From d31a42593132528b4d09de3fe465b2651f2882ca Mon Sep 17 00:00:00 2001 From: "Lee, Sang Ik" Date: Tue, 25 Apr 2023 09:13:39 -0700 Subject: [PATCH] Fix rpath issue. --- tools/l0-fp64-checker/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/l0-fp64-checker/CMakeLists.txt b/tools/l0-fp64-checker/CMakeLists.txt index 98ea6bc49..295f8900b 100644 --- a/tools/l0-fp64-checker/CMakeLists.txt +++ b/tools/l0-fp64-checker/CMakeLists.txt @@ -16,6 +16,7 @@ if(NOT LEVEL_ZERO_DIR) message(FATAL_ERROR "LEVEL_ZERO_DIR is not set") endif() +set(CMAKE_INSTALL_RPATH ${LEVEL_ZERO_DIR}/lib) add_imex_tool(l0-fp64-checker l0-fp64-checker.cpp) target_compile_options (l0-fp64-checker PUBLIC -fexceptions)