Files
Bigfoot/CMake/FindDependencies.cmake
Romain BOULLARD 9c59bd6ab8
Some checks failed
Bigfoot / Clang Format Checks (push) Failing after 9s
Bigfoot / Build & Test RelWithDebInfo (Unity Build: OFF) (push) Failing after 16m30s
Bigfoot / Build & Test Debug (Unity Build: ON) (push) Failing after 3h0m50s
Bigfoot / Build & Test Debug (Unity Build: OFF) (push) Failing after 3h1m54s
Bigfoot / Build & Test RelWithDebInfo (Unity Build: ON) (push) Failing after 14m59s
Bigfoot / Build & Test Release (Unity Build: OFF) (push) Failing after 8m41s
Bigfoot / Build & Test Release (Unity Build: ON) (push) Failing after 7m26s
Bin2CPP
2026-03-29 03:03:13 +02:00

68 lines
1.8 KiB
CMake

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)
if(${ASAN})
find_package(mimalloc-asan REQUIRED)
else()
find_package(mimalloc REQUIRED)
endif()
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()