From 0ba58031118a3dee75ca1c64055ffc7df8cdcd86 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Thu, 20 Oct 2022 21:19:01 +0200 Subject: [PATCH] - two more CMake checks that are not needed anymore. Neither of these function is in use so we do not need to check for them. --- src/CMakeLists.txt | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 5480e242ad..4b3045b0ec 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -302,16 +302,6 @@ endif() # Check for functions that may or may not exist. -CHECK_FUNCTION_EXISTS( filelength FILELENGTH_EXISTS ) -if( FILELENGTH_EXISTS ) - add_definitions( -DHAVE_FILELENGTH=1 ) -endif() - -CHECK_FUNCTION_EXISTS( strupr STRUPR_EXISTS ) -if( NOT STRUPR_EXISTS ) - add_definitions( -DNEED_STRUPR=1 ) -endif() - require_stricmp() require_strnicmp()