unset deprecated cache variables
@@ -24,17 +24,17 @@ ENDMACRO()
IF(DEFINED EXAMPLES_ENABLE)
PRINT_DEPRECATED(EXAMPLES_ENABLE EXAMPLES_ENABLE_C)
FORCE_VARIABLE(EXAMPLES_ENABLE_C BOOL "Build SUNDIALS C examples" ${EXAMPLES_ENABLE})
- UNSET(EXAMPLES_ENABLE)
+ UNSET(EXAMPLES_ENABLE CACHE)
ENDIF()
IF(DEFINED CXX_ENABLE)
PRINT_DEPRECATED(CXX_ENABLE EXAMPLES_ENABLE_CXX)
FORCE_VARIABLE(EXAMPLES_ENABLE_CXX BOOL "Build ARKode C++ examples" ${CXX_ENABLE})
- UNSET(CXX_ENABLE)
+ UNSET(CXX_ENABLE CACHE)
ENDIF()
IF(DEFINED F90_ENABLE)
PRINT_DEPRECATED(F90_ENABLE EXAMPLES_ENABLE_F90)
FORCE_VARIABLE(EXAMPLES_ENABLE_F90 BOOL "Build ARKode Fortran90 examples" ${F90_ENABLE})
- UNSET(F90_ENABLE)
+ UNSET(F90_ENABLE CACHE)
ENDIF()
