Normalization behavior of if(PATH_EQUAL) is unclear
The documentation for if(... PATH_EQUAL ...)
states that no normalization is performed on either path. However, the example immediately after that seems to contradict that claim:
# comparison is TRUE
if ("/a//b/c" PATH_EQUAL "/a/b/c")
...
endif()
# comparison is FALSE
if ("/a//b/c" STREQUAL "/a/b/c")
...
endif()
For the first condition to be evaluated as TRUE, it would have to be collapsing the multiple slashes, which is part of the normalization process (as I understand it). Therefore, the statement that no normalization is performed is at least partially incorrect. If the example is correct, then the text before it should be updated, but I'm not sure what to (I am a bit unclear on what transformations are done to the paths).
CC: @marc.chevrier