fix(cmake): change CACHE type from LIST to STRING for COOLPROP_APP_SOURCES and COOLPROP_INCLUDE_DIRECTORIES (#2734)

CMake does not have a LIST cache type; it was silently coercing to STRING
and emitting a warning on every configure. Fixes the longstanding CMake
warning reported in PR #2728.

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Ian Bell
2026-04-18 14:19:48 -04:00
committed by GitHub
parent c189917b36
commit 3040ebf26e

View File

@@ -345,10 +345,10 @@ set(SWIG_DEPENDENCIES
set(COOLPROP_APP_SOURCES
${APP_SOURCES}
CACHE LIST "List of CPP sources needed for CoolProp")
CACHE STRING "List of CPP sources needed for CoolProp")
set(COOLPROP_INCLUDE_DIRECTORIES
${APP_INCLUDE_DIRS}
CACHE LIST "List of include directories needed for CoolProp")
CACHE STRING "List of include directories needed for CoolProp")
#######################################
# REQUIRED MODULES #