From f25e5e7d0d697bda3dfd187c0087849d536cc491 Mon Sep 17 00:00:00 2001 From: yyc12345 Date: Tue, 18 Aug 2026 20:30:37 +0800 Subject: [PATCH] fix: fix omrf packer template error --- packer/src/sarasacw_omrf_packer/templates/XXXConfig.cmake.jinja | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packer/src/sarasacw_omrf_packer/templates/XXXConfig.cmake.jinja b/packer/src/sarasacw_omrf_packer/templates/XXXConfig.cmake.jinja index 89338f6..77d9760 100644 --- a/packer/src/sarasacw_omrf_packer/templates/XXXConfig.cmake.jinja +++ b/packer/src/sarasacw_omrf_packer/templates/XXXConfig.cmake.jinja @@ -11,7 +11,7 @@ endif() Get the path to directory where current XXXConfig.cmake file is (i.e. /path/to/installation/lib/cmake/XXX) And compute installation root directory (back to parent 3 times, i.e. /path/to/installation) -#} -get_filename_component(_IMPORT_PREFIX "${CMAKE_CURRENT_LIST_FILE}/../../../" ABSOLUTE) +get_filename_component(_IMPORT_PREFIX "${CMAKE_CURRENT_LIST_DIR}/../../../" ABSOLUTE) {# Setup library and header file paths -#} set(MyRust_LIBRARY "${_IMPORT_PREFIX}/lib/{{ artifact_dll }}")