Use preprocessor to exclude platform specify code instead of cmake
This commit is contained in:
@@ -6,6 +6,8 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifdef NOVA_VULKAN
|
||||
|
||||
#include <nova/render/render_driver.h>
|
||||
#include <vulkan/vulkan.h>
|
||||
|
||||
@@ -51,3 +53,5 @@ namespace Nova {
|
||||
static VkAllocationCallbacks* _get_allocator(VkObjectType type);
|
||||
};
|
||||
} // namespace Nova
|
||||
|
||||
#endif // NOVA_VULKAN
|
||||
|
||||
Reference in New Issue
Block a user