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(magic_enum 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}) find_package(cpptrace REQUIRED) elseif(${CMAKE_BUILD_TYPE} STREQUAL "Debug" OR ${CMAKE_BUILD_TYPE} STREQUAL "RelWithDebInfo") find_package(cpptrace REQUIRED) endif() if(BUILD_TESTS) find_package(GTest REQUIRED) endif()