mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-03-06 20:58:37 +01:00
[build] Use current_source_dir instead of source_root
source_root is deprecated and doesn't work if we are used in a subproject
This commit is contained in:
parent
297759be4e
commit
76ddd2a35a
1 changed files with 2 additions and 2 deletions
|
@ -58,9 +58,9 @@ if platform == 'windows'
|
|||
endif
|
||||
|
||||
if (cpu_family == 'x86_64')
|
||||
dxvk_library_path = meson.source_root() + '/lib'
|
||||
dxvk_library_path = meson.current_source_dir() + '/lib'
|
||||
else
|
||||
dxvk_library_path = meson.source_root() + '/lib32'
|
||||
dxvk_library_path = meson.current_source_dir() + '/lib32'
|
||||
endif
|
||||
|
||||
lib_vulkan = cpp.find_library('vulkan-1', dirs : dxvk_library_path)
|
||||
|
|
Loading…
Add table
Reference in a new issue