mirror of
https://github.com/CoolProp/CoolProp.git
synced 2026-04-23 03:00:17 -04:00
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:
@@ -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 #
|
||||
|
||||
Reference in New Issue
Block a user