diff --git a/CMakeLists.txt b/CMakeLists.txt index 07183a1..0633958 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -9,8 +9,9 @@ add_executable(VulkanSimulation ${SRC_FILES}) find_package(Vulkan REQUIRED) include(deps.cmake) - -FetchContent_MakeAvailable(glfw) +if (WIN32) + FetchContent_MakeAvailable(glfw) +endif () FetchContent_MakeAvailable(glm) FetchContent_MakeAvailable(vma) FetchContent_MakeAvailable(tetgen) diff --git a/include/vulkan/buffer.hpp b/include/vulkan/buffer.hpp index 8b70ca8..691bb86 100644 --- a/include/vulkan/buffer.hpp +++ b/include/vulkan/buffer.hpp @@ -5,9 +5,6 @@ #include "vertex.hpp" #include "vk_mem_alloc.h" -class Instance; -class CommandPool; - class Buffer { public: explicit Buffer(VkDeviceSize size, VkBufferUsageFlags bufferUsage,