CMAKE_INCLUDE_PATH/CMAKE_LIBRARY_PATH is interpreted differently if coming from the environment compared to being set with -D
CMAKE_INCLUDE_PATH/CMAKE_LIBRARY_PATH are defined as ";-list of directories specifying a search path" in the documentation.
When doing cmake -DCMAKE_INCLUDE_PATH='/patha;/pathb' it behaves as expected.
But when set in the enviroment it doesn't. It doesn't get split on ";", instead it gets split on ":"
Having two different interpretations of those variables (and others) is confusing, especially since it doesn't seem to be documented anywhere.
Is there a reason NOT to split on ";" even when coming from the environment?