forked from GlynnJKW/Stratum-1
-
Notifications
You must be signed in to change notification settings - Fork 1
/
CMakeLists.txt
21 lines (16 loc) · 1.33 KB
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
cmake_minimum_required(VERSION 3.20)
project(Stratum)
# Find dependencies
find_package(Vulkan REQUIRED)
find_package(Eigen3 REQUIRED)
find_package(imgui CONFIG REQUIRED)
find_package(OpenXR CONFIG)
find_package(miniz CONFIG REQUIRED)
find_package(pugixml CONFIG REQUIRED)
file(DOWNLOAD https://raw.githubusercontent.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator/master/include/vk_mem_alloc.h ${CMAKE_CURRENT_LIST_DIR}/src/extern/vk_mem_alloc.h)
file(DOWNLOAD https://raw.githubusercontent.com/nlohmann/json/develop/single_include/nlohmann/json.hpp ${CMAKE_CURRENT_LIST_DIR}/src/extern/json.hpp)
file(DOWNLOAD https://raw.githubusercontent.com/nothings/stb/master/stb_image.h ${CMAKE_CURRENT_LIST_DIR}/src/extern/stb_image.h)
file(DOWNLOAD https://raw.githubusercontent.com/nothings/stb/master/stb_image_write.h ${CMAKE_CURRENT_LIST_DIR}/src/extern/stb_image_write.h)
file(DOWNLOAD https://raw.githubusercontent.com/syoyo/tinygltf/master/tiny_gltf.h ${CMAKE_CURRENT_LIST_DIR}/src/extern/tiny_gltf.h)
file(DOWNLOAD https://raw.githubusercontent.com/syoyo/tinyexr/master/tinyexr.h ${CMAKE_CURRENT_LIST_DIR}/src/extern/tiny_exr.h)
add_subdirectory(src)