diff options
author | Daniel Mensinger <daniel@mensinger-ka.de> | 2019-02-19 21:04:23 +0100 |
---|---|---|
committer | Daniel Mensinger <daniel@mensinger-ka.de> | 2019-04-28 14:33:21 +0200 |
commit | dfe3d56bfd28eb7b960f1beb09f502f9902b45fa (patch) | |
tree | a6733c2dca9e93bef164e21193a1fa506deec84f /mesonbuild/dependencies/ui.py | |
parent | c9bd84fd25dd24999ac2d20b616e91efb9038905 (diff) | |
download | meson-dfe3d56bfd28eb7b960f1beb09f502f9902b45fa.zip meson-dfe3d56bfd28eb7b960f1beb09f502f9902b45fa.tar.gz meson-dfe3d56bfd28eb7b960f1beb09f502f9902b45fa.tar.bz2 |
Print '(cached)' when compiler result was cached
Diffstat (limited to 'mesonbuild/dependencies/ui.py')
-rw-r--r-- | mesonbuild/dependencies/ui.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/dependencies/ui.py b/mesonbuild/dependencies/ui.py index ce1ca68..0a01ac4 100644 --- a/mesonbuild/dependencies/ui.py +++ b/mesonbuild/dependencies/ui.py @@ -641,7 +641,7 @@ class VulkanDependency(ExternalDependency): else: # simply try to guess it, usually works on linux libs = self.clib_compiler.find_library('vulkan', environment, []) - if libs is not None and self.clib_compiler.has_header('vulkan/vulkan.h', '', environment): + if libs is not None and self.clib_compiler.has_header('vulkan/vulkan.h', '', environment)[0]: self.type_name = 'system' self.is_found = True for lib in libs: |