find_package(Python3 COMPONENTS Interpreter Development) if(CMAKE_SYSTEM_NAME STREQUAL "Linux") set(THREADS_PREFER_PTHREAD_FLAG ON) find_package(Threads REQUIRED) endif() find_package(EASTL REQUIRED) find_package(unordered_dense REQUIRED) find_package(mimalloc REQUIRED) find_package(stduuid REQUIRED) find_package(SQLite3 REQUIRED) find_package(CLI11 REQUIRED) find_package(rapidhash REQUIRED) find_package(effolkronium_random REQUIRED) find_package(flatbuffers CONFIG REQUIRED) if(TRACY) find_package(Tracy REQUIRED) endif() if(${IS_MULTI_CONFIG}) find_package(quill REQUIRED) find_package(cpptrace REQUIRED) elseif(${CMAKE_BUILD_TYPE} STREQUAL "Debug" OR ${CMAKE_BUILD_TYPE} STREQUAL "RelWithDebInfo") find_package(quill REQUIRED) find_package(cpptrace REQUIRED) endif() find_package(glm REQUIRED) find_package(lodepng REQUIRED) find_package(imgui REQUIRED) if(VULKAN) find_package(VulkanHeaders REQUIRED) if(${IS_MULTI_CONFIG}) find_package(vulkan-validationlayers REQUIRED) elseif(${CMAKE_BUILD_TYPE} STREQUAL "Debug" OR ${CMAKE_BUILD_TYPE} STREQUAL "RelWithDebInfo") find_package(vulkan-validationlayers REQUIRED) endif() find_package(vulkan-memory-allocator REQUIRED) endif() if(BUILD_BENCHMARKS OR BUILD_TESTS OR SAMPLE_APP) find_package(glfw3 REQUIRED) endif() if(BUILD_TESTS) find_package(GTest REQUIRED) find_package(pixelmatch-cpp17 REQUIRED) endif() if(BUILD_TOOLS) find_package(spirv-cross REQUIRED) find_package(shaderc REQUIRED) find_package(assimp REQUIRED) find_package(meshoptimizer REQUIRED) find_package(libsquish REQUIRED) endif() if(BUILD_BENCHMARKS) find_package(benchmark REQUIRED) endif()