From ae71f98b9b2666ddbae502ff7cc8b816ef09b33d Mon Sep 17 00:00:00 2001 From: Gordon Smith Date: Tue, 30 Apr 2024 07:14:00 +0100 Subject: [PATCH] HPCC-31641 Remove old cmake "FindXXX" modules Signed-off-by: Gordon Smith --- cmake_modules/commonSetup.cmake | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/cmake_modules/commonSetup.cmake b/cmake_modules/commonSetup.cmake index 7b4e913afb8..cfc7cd73911 100644 --- a/cmake_modules/commonSetup.cmake +++ b/cmake_modules/commonSetup.cmake @@ -892,12 +892,7 @@ IF ("${COMMONSETUP_DONE}" STREQUAL "") endif(USE_AZURE) if(USE_MYSQL_REPOSITORY) - find_package(MYSQL) - if (MYSQL_FOUND) - add_definitions (-D_USE_MYSQL_REPOSITORY) - else() - message(FATAL_ERROR "MYSQL requested but package not found") - endif() + add_definitions (-D_USE_MYSQL_REPOSITORY) else() add_definitions (-D_NO_MYSQL_REPOSITORY) endif(USE_MYSQL_REPOSITORY)