haikuwebkit/PerformanceTests/CMakeLists.txt

11 lines
307 B
CMake

# MallocBench requires malloc_trim for non-Apple platforms
if (NOT USE_SYSTEM_MALLOC)
if (APPLE OR HAVE_MALLOC_TRIM)
add_subdirectory(MallocBench)
else ()
message(WARNING "MallocBench is not available on this platform")
endif ()
endif ()
WEBKIT_INCLUDE_CONFIG_FILES_IF_EXISTS()