fix: fix omrf packer template error

This commit is contained in:
2026-08-18 20:30:37 +08:00
parent 6e807fd62d
commit f25e5e7d0d
@@ -11,7 +11,7 @@ endif()
Get the path to directory where current XXXConfig.cmake file is (i.e. /path/to/installation/lib/cmake/XXX) 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) 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 -#} {# Setup library and header file paths -#}
set(MyRust_LIBRARY "${_IMPORT_PREFIX}/lib/{{ artifact_dll }}") set(MyRust_LIBRARY "${_IMPORT_PREFIX}/lib/{{ artifact_dll }}")