Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/doitsujin/dxvk.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Ashton <joshua@froggi.es>2022-04-20 16:57:14 +0300
committerPhilip Rebohle <25567304+doitsujin@users.noreply.github.com>2022-07-30 22:28:09 +0300
commit76ddd2a35a7f7fae8fd77adcf30c5fe14c2ffad2 (patch)
tree258c34e72ce6de1159176cd54b8199762933ade9 /meson.build
parent297759be4e5ffa7907b3ecc23d160a78c2a835cc (diff)
[build] Use current_source_dir instead of source_root
source_root is deprecated and doesn't work if we are used in a subproject
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build4
1 files changed, 2 insertions, 2 deletions
diff --git a/meson.build b/meson.build
index 992085a0..f044c8f4 100644
--- a/meson.build
+++ b/meson.build
@@ -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)