From 27ec3eb4f6e18137f3de40bb1e57b61fab75ba57 Mon Sep 17 00:00:00 2001 From: Doug Torrance Date: Fri, 27 Sep 2024 20:49:18 -0400 Subject: [PATCH] Remove unnecessary givaro isunit v. isUnit check (cmake) --- M2/cmake/check-libraries.cmake | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/M2/cmake/check-libraries.cmake b/M2/cmake/check-libraries.cmake index b8e6a73802..9be8f5c096 100644 --- a/M2/cmake/check-libraries.cmake +++ b/M2/cmake/check-libraries.cmake @@ -318,16 +318,7 @@ unset(CMAKE_REQUIRED_LIBRARIES) unset(CMAKE_REQUIRED_INCLUDES) ############################################################################### -## Set four library related definitions - -if(GIVARO_FOUND) - set(CMAKE_REQUIRED_INCLUDES "${GIVARO_INCLUDE_DIRS}") - # whether givaro has isUnit (4.0.3) or isunit (4.0.2) - check_cxx_source_compiles([[#include - int main(){class Givaro::GFqDom foo; foo.isunit(0);return 0;}]] HAVE_GIVARO_isunit) -else() - unset(HAVE_GIVARO_isunit CACHE) -endif() +## Set several library related definitions if(FACTORY_FOUND) set(CMAKE_REQUIRED_INCLUDES "${FACTORY_INCLUDE_DIR}")