From f4d4c7247aa4e4e858e0aac28a531ac38e7928c8 Mon Sep 17 00:00:00 2001 From: Arne Morten Kvarving Date: Wed, 17 Nov 2021 14:49:27 +0100 Subject: [PATCH] changed: INT type is now INTERNAL --- cmake/Modules/FindSuiteSparse.cmake | 4 ++-- cmake/Scripts/IFEMTesting.cmake | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cmake/Modules/FindSuiteSparse.cmake b/cmake/Modules/FindSuiteSparse.cmake index 0b77b836..1abd5279 100644 --- a/cmake/Modules/FindSuiteSparse.cmake +++ b/cmake/Modules/FindSuiteSparse.cmake @@ -259,9 +259,9 @@ foreach (module IN LISTS SuiteSparse_FIND_COMPONENTS) set (SuiteSparse_FOUND FALSE) # use empty string instead of zero, so it can be tested with #ifdef # as well as #if in the source code - set (HAVE_SUITESPARSE_${MODULE}_H "" CACHE INT "Is ${module} header present?") + set (HAVE_SUITESPARSE_${MODULE}_H "" CACHE INTERNAL "Is ${module} header present?") else (NOT SuiteSparse_${MODULE}_FOUND) - set (HAVE_SUITESPARSE_${MODULE}_H 1 CACHE INT "Is ${module} header present?") + set (HAVE_SUITESPARSE_${MODULE}_H 1 CACHE INTERNAL "Is ${module} header present?") list (APPEND SuiteSparse_LIBRARIES "${${MODULE}_LIBRARIES}") list (APPEND SuiteSparse_LINKER_FLAGS "${${MODULE}_LINKER_FLAGS}") list (APPEND SuiteSparse_INCLUDE_DIRS "${${MODULE}_INCLUDE_DIRS}") diff --git a/cmake/Scripts/IFEMTesting.cmake b/cmake/Scripts/IFEMTesting.cmake index f9184ec8..c6936410 100644 --- a/cmake/Scripts/IFEMTesting.cmake +++ b/cmake/Scripts/IFEMTesting.cmake @@ -3,7 +3,7 @@ # Thanks to Daniel Blezek for the GTEST_ADD_TESTS code function(gtest_add_tests executable working_dir source_var) if(NOT UNIT_TEST_NUMBER) - set(UNIT_TEST_NUMBER 0 CACHE INT "" FORCE) + set(UNIT_TEST_NUMBER 0 CACHE INTERNAL "" FORCE) endif() foreach(source ${${source_var}}) file(READ "${source}" contents)