mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-05 21:31:08 -06:00
Do not define CMAKE_PARENT_LIST_FILE in CMakeLists.txt
Add policy `CMP0198` for compatibility. Issue: #25026
This commit is contained in:
@@ -8,7 +8,8 @@ While processing a CMake file loaded by :command:`include` or
|
||||
including it.
|
||||
|
||||
While processing a ``CMakeLists.txt`` file, even in subdirectories,
|
||||
this variable has the same value as :variable:`CMAKE_CURRENT_LIST_FILE`.
|
||||
this variable is not defined. See policy :policy:`CMP0198`.
|
||||
|
||||
While processing a :option:`cmake -P` script, this variable is not defined
|
||||
in the outermost script.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user