Files
Bin2CPP/CMake/FindDependencies.cmake
Romain BOULLARD 766b44ac72
All checks were successful
Bigfoot / Build & Test Debug (push) Successful in 59s
Bigfoot / Build & Test RelWithDebInfo (push) Successful in 1m13s
Bigfoot / Clang Format Checks (push) Successful in 9s
Bigfoot / Build & Test Release (push) Successful in 38s
Fully embrace profiles
2026-02-22 00:20:45 +01:00

24 lines
587 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(${ASAN})
find_package(mimalloc-asan REQUIRED)
else()
find_package(mimalloc REQUIRED)
endif()
if(${IS_MULTI_CONFIG} OR ${CMAKE_BUILD_TYPE} STREQUAL "Debug" OR ${CMAKE_BUILD_TYPE} STREQUAL "RelWithDebInfo")
find_package(cpptrace REQUIRED)
endif()
if(BUILD_TESTS)
find_package(GTest REQUIRED)
endif()