diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index e559750cd..be28a9732 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -139,10 +139,6 @@ FetchContent_MakeAvailable(toml) FetchContent_MakeAvailable(vma) FetchContent_MakeAvailable(volk) -if (WIN32) - set(VOLK_STATIC_DEFINES VK_USE_PLATFORM_WIN32_KHR) -endif() - target_link_libraries(inexor-vulkan-renderer PUBLIC fmt::fmt @@ -152,6 +148,6 @@ target_link_libraries(inexor-vulkan-renderer spdlog::spdlog tinygltf toml11::toml11 - volk::volk + volk_headers Vulkan::Headers VulkanMemoryAllocator)