Some checks failed
Bin2CPP / Build & Test with ./ConanProfiles/clangd (Unity Build: OFF) (push) Has been cancelled
Bin2CPP / Build & Test with ./ConanProfiles/clangd (Unity Build: ON) (push) Has been cancelled
Bin2CPP / Build & Test with ./ConanProfiles/clangd_asan (Unity Build: OFF) (push) Has been cancelled
Bin2CPP / Build & Test with ./ConanProfiles/clangd_asan (Unity Build: ON) (push) Has been cancelled
Bin2CPP / Build & Test with ./ConanProfiles/clang (Unity Build: ON) (push) Has been cancelled
Bin2CPP / Clang Format Checks (push) Has been cancelled
Bin2CPP / Build & Test with ./ConanProfiles/clang (Unity Build: OFF) (push) Has been cancelled
26 lines
628 B
CMake
26 lines
628 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})
|
|
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() |