Merge pull request #186 from HindrikStegenga/master

Add include_directories to CMake to include the header files.
This commit is contained in:
Adam Sawicki 2021-07-23 12:04:11 +02:00 committed by GitHub
commit b90d64290e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,6 +3,7 @@ cmake_minimum_required(VERSION 3.9)
project(VulkanMemoryAllocator) project(VulkanMemoryAllocator)
find_package(Vulkan REQUIRED) find_package(Vulkan REQUIRED)
include_directories(${Vulkan_INCLUDE_DIR})
# VulkanMemoryAllocator contains an sample application and VmaReplay which are not build by default # VulkanMemoryAllocator contains an sample application and VmaReplay which are not build by default
option(VMA_BUILD_SAMPLE "Build VulkanMemoryAllocator sample application" OFF) option(VMA_BUILD_SAMPLE "Build VulkanMemoryAllocator sample application" OFF)