TO_NATIVE_PATH does not convert semicolon to colon on Unix
On Unix, a CMake path list is ;
-separated, and a native path list is :
-separated.
TO_CMAKE_PATH
will convert :
to ;
, but TO_NATIVE_PATH
does not do the opposite conversion.
Fixing this will probably require a CMake policy because it will change behaviour.
The relevant code is here.