Files
Bin2CPP/CMake/FindDependencies.cmake
Romain BOULLARD f0fca19046
Some checks failed
Bigfoot / Build & Test Debug (push) Failing after 1m10s
Bigfoot / Build & Test RelWithDebInfo (push) Failing after 1m17s
Bigfoot / Build & Test Release (push) Successful in 40s
Bigfoot / Clang Format Checks (push) Failing after 11s
Asan
2026-02-20 19:44:57 +01:00

25 lines
724 B
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(CLI11 REQUIRED)
find_package(quill REQUIRED)
if(${IS_MULTI_CONFIG})
find_package(mimalloc REQUIRED)
find_package(mimalloc-asan REQUIRED)
find_package(cpptrace REQUIRED)
elseif(${CMAKE_BUILD_TYPE} STREQUAL "Release")
find_package(mimalloc REQUIRED)
elseif(${CMAKE_BUILD_TYPE} STREQUAL "Debug" OR ${CMAKE_BUILD_TYPE} STREQUAL "RelWithDebInfo")
find_package(mimalloc-asan REQUIRED)
find_package(cpptrace REQUIRED)
endif()
if(BUILD_TESTS)
find_package(GTest REQUIRED)
endif()