Skip to content

Commit a2987a3

Browse files
committed
ci: fixed VMA header not loading
1 parent 2db5ba7 commit a2987a3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

CMakeLists.txt

+2-1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ cmake_minimum_required(VERSION 3.26)
1212
include(FindOpenGL)
1313
include(CMakePrintHelpers)
1414
include(FetchContent)
15+
include(FindVulkan)
1516

1617
set(VCPKG_FEATURE_FLAGS "manifests,registries,versions")
1718

@@ -142,9 +143,9 @@ elseif (OpenGL::OpenGL)
142143
endif (OpenGL::GL)
143144

144145
find_package(VulkanMemoryAllocator CONFIG REQUIRED)
146+
target_include_directories(LepusGfx PUBLIC "${Vulkan_INCLUDE_DIR}" "${CMAKE_CURRENT_BINARY_DIR}/_deps/fetch_vk_bootstrap-src/src")
145147
target_link_libraries(LepusGfx PRIVATE GL3W glfw ${GL_LIBRARY} vk-bootstrap::vk-bootstrap Vulkan::Vulkan GPUOpen::VulkanMemoryAllocator DearImgui LepusEngine LepusUtility LepusSystem)
146148

147-
target_include_directories(LepusGfx PUBLIC "${Vulkan_INCLUDE_DIR}" "${CMAKE_CURRENT_BINARY_DIR}/_deps/fetch_vk_bootstrap-src/src")
148149
target_link_libraries(LepusDemo PRIVATE DearImgui LepusGfx LepusUtility LepusEngine)
149150

150151
# Copy content (models, GLSL, etc.)

0 commit comments

Comments
 (0)