22 lines
468 B
CMake
22 lines
468 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(magic_enum REQUIRED)
|
|
find_package(CLI11 REQUIRED)
|
|
find_package(quill REQUIRED)
|
|
|
|
if(${ASAN})
|
|
find_package(mimalloc-asan REQUIRED)
|
|
else()
|
|
find_package(mimalloc REQUIRED)
|
|
endif()
|
|
|
|
find_package(cpptrace REQUIRED)
|
|
|
|
if(BUILD_TESTS)
|
|
find_package(GTest REQUIRED)
|
|
endif() |