CMake doesn't seem to like it when you regex search for "^".
mentioned in commit 6b16ce94
mentioned in commit 916be8fd
mentioned in commit 5f9211bc