Tests: Fix CMakeCommands.target_link_directories for regex chars in path
CMAKE_CURRENT_SOURCE_DIR
may contain reg string and they will break the test. For example: CMAKE_CURRENT_SOURCE_DIR="cmake-3.13.4+r001+gI1dc15dc"
.
Fixes: #22801 (closed)
Topic-rename: test-target_link_directories-chars
Edited by Brad King