Fix style issue in vulkan dep

This commit is contained in:
nyorain 2017-07-25 23:25:00 +02:00
parent 005e041645
commit 02e5c58efc
1 changed files with 1 additions and 1 deletions

View File

@ -556,7 +556,7 @@ class VulkanDependency(ExternalDependency):
else:
# simply try to guess it, usually works on linux
libs = self.compiler.find_library('vulkan', environment, [])
if libs != None and self.compiler.has_header('vulkan/vulkan.h', '', environment):
if libs is not None and self.compiler.has_header('vulkan/vulkan.h', '', environment):
self.type_name = 'system'
self.is_found = True
self.version = 1 # TODO