mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-03-15 07:29:17 +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
@ -58,9 +58,9 @@ if platform == 'windows'
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
if (cpu_family == 'x86_64')
|
if (cpu_family == 'x86_64')
|
||||||
dxvk_library_path = meson.source_root() + '/lib'
|
dxvk_library_path = meson.current_source_dir() + '/lib'
|
||||||
else
|
else
|
||||||
dxvk_library_path = meson.source_root() + '/lib32'
|
dxvk_library_path = meson.current_source_dir() + '/lib32'
|
||||||
endif
|
endif
|
||||||
|
|
||||||
lib_vulkan = cpp.find_library('vulkan-1', dirs : dxvk_library_path)
|
lib_vulkan = cpp.find_library('vulkan-1', dirs : dxvk_library_path)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user