From 1882dffff2f5fa1150e68543d34a28124c7fe6e0 Mon Sep 17 00:00:00 2001 From: dcvz Date: Fri, 31 May 2024 22:30:26 +0200 Subject: [PATCH] Remove MALLOC checks --- librecomp/CMakeLists.txt | 8 -------- 1 file changed, 8 deletions(-) diff --git a/librecomp/CMakeLists.txt b/librecomp/CMakeLists.txt index 596e588..78c5c5d 100644 --- a/librecomp/CMakeLists.txt +++ b/librecomp/CMakeLists.txt @@ -1,14 +1,6 @@ cmake_minimum_required(VERSION 3.20) project(librecomp) -# Check for headers -include(CheckIncludeFile) -check_include_file("malloc.h" HAVE_MALLOC_H) - -if(HAVE_MALLOC_H) - add_compile_definitions(HAVE_MALLOC_H) -endif() - # Define the library add_library(librecomp STATIC "${CMAKE_CURRENT_SOURCE_DIR}/src/ai.cpp"