mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 04:48:08 +02:00
lavapipe/meson: rename module_dir to icd_lib_path and swap two lines for consistence
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com> Reviewed-by: Eric Engestrom <eric@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18747>
This commit is contained in:
parent
c8e14d5d47
commit
3449b2187e
1 changed files with 3 additions and 3 deletions
|
|
@ -14,17 +14,17 @@ libvulkan_lvp = shared_library(
|
|||
install : true,
|
||||
)
|
||||
|
||||
icd_lib_path = join_paths(get_option('prefix'), get_option('libdir'))
|
||||
icd_file_name = 'libvulkan_lvp.so'
|
||||
module_dir = join_paths(get_option('prefix'), get_option('libdir'))
|
||||
if with_platform_windows
|
||||
module_dir = join_paths(get_option('prefix'), get_option('bindir'))
|
||||
icd_lib_path = join_paths(get_option('prefix'), get_option('bindir'))
|
||||
icd_file_name = 'vulkan_lvp.dll'
|
||||
endif
|
||||
|
||||
icd_command = [
|
||||
prog_python, '@INPUT0@',
|
||||
'--api-version', '1.1', '--xml', '@INPUT1@',
|
||||
'--lib-path', join_paths(module_dir, icd_file_name),
|
||||
'--lib-path', join_paths(icd_lib_path, icd_file_name),
|
||||
'--out', '@OUTPUT@',
|
||||
]
|
||||
if with_platform_windows
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue