Add include_directories to CMake to include the header files.

This commit is contained in:
Hindrik Stegenga 2021-07-23 11:53:11 +02:00
parent 0495495a42
commit 43ff2ef658
No known key found for this signature in database
GPG Key ID: 63F738E4E83A1295

View File

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