fetch glfw only on windows

feature/softbody-runtime-control
Benjamin Kraft 4 months ago
parent 6a5cdc7471
commit 9f533d91c3
  1. 3
      CMakeLists.txt
  2. 3
      include/vulkan/buffer.hpp

@ -9,8 +9,9 @@ add_executable(VulkanSimulation ${SRC_FILES})
find_package(Vulkan REQUIRED) find_package(Vulkan REQUIRED)
include(deps.cmake) include(deps.cmake)
if (WIN32)
FetchContent_MakeAvailable(glfw) FetchContent_MakeAvailable(glfw)
endif ()
FetchContent_MakeAvailable(glm) FetchContent_MakeAvailable(glm)
FetchContent_MakeAvailable(vma) FetchContent_MakeAvailable(vma)
FetchContent_MakeAvailable(tetgen) FetchContent_MakeAvailable(tetgen)

@ -5,9 +5,6 @@
#include "vertex.hpp" #include "vertex.hpp"
#include "vk_mem_alloc.h" #include "vk_mem_alloc.h"
class Instance;
class CommandPool;
class Buffer { class Buffer {
public: public:
explicit Buffer(VkDeviceSize size, VkBufferUsageFlags bufferUsage, explicit Buffer(VkDeviceSize size, VkBufferUsageFlags bufferUsage,

Loading…
Cancel
Save