changed: INT type is now INTERNAL
This commit is contained in:
1 parent
b188724ce8
commit
f4d4c7247a
2 files changed
+3
-3
No files matched your search
@@ -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}")
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
# Thanks to Daniel Blezek <blezek@gmail.com> 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)
|
||||
|
||||
Reference in new issue
Block a user