Do not define CMAKE_PARENT_LIST_FILE in CMakeLists.txt Add policy `CMP0198` for compatibility. Issue: #25026