From 3040ebf26eb4c19a764389af528d25fe2cf31594 Mon Sep 17 00:00:00 2001 From: Ian Bell Date: Sat, 18 Apr 2026 14:19:48 -0400 Subject: [PATCH] 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 --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 7fb1939a..07ddd722 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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 #