Fully embrace profiles

This commit is contained in:
2026-02-22 00:20:45 +01:00
committed by Romain BOULLARD
parent 64bbcdd64a
commit c3b006c281
13 changed files with 85 additions and 89 deletions

View File

@@ -9,14 +9,13 @@ find_package(EASTL REQUIRED)
find_package(CLI11 REQUIRED)
find_package(quill REQUIRED)
if(${IS_MULTI_CONFIG})
find_package(mimalloc REQUIRED)
if(${ASAN})
find_package(mimalloc-asan REQUIRED)
find_package(cpptrace REQUIRED)
elseif(${CMAKE_BUILD_TYPE} STREQUAL "Release")
else()
find_package(mimalloc REQUIRED)
elseif(${CMAKE_BUILD_TYPE} STREQUAL "Debug" OR ${CMAKE_BUILD_TYPE} STREQUAL "RelWithDebInfo")
find_package(mimalloc-asan REQUIRED)
endif()
if(${IS_MULTI_CONFIG} OR ${CMAKE_BUILD_TYPE} STREQUAL "Debug" OR ${CMAKE_BUILD_TYPE} STREQUAL "RelWithDebInfo")
find_package(cpptrace REQUIRED)
endif()