diff options
author | Marc Chevrier <marc.chevrier@gmail.com> | 2022-06-03 10:42:41 (GMT) |
---|---|---|
committer | Marc Chevrier <marc.chevrier@gmail.com> | 2022-06-03 17:31:36 (GMT) |
commit | be4b9e10afaae750ad184ce1b34d6cb2c3d7fd33 (patch) | |
tree | 1c88a4586bb77f93be8e9bf1ddd43cbcad1f4bbe /Help/policy | |
parent | 0aa0b8e146ea8d1dc50b4c045360abd57c3643e4 (diff) | |
download | CMake-be4b9e10afaae750ad184ce1b34d6cb2c3d7fd33.zip CMake-be4b9e10afaae750ad184ce1b34d6cb2c3d7fd33.tar.gz CMake-be4b9e10afaae750ad184ce1b34d6cb2c3d7fd33.tar.bz2 |
if command: Add PATH_EQUAL operator
Diffstat (limited to 'Help/policy')
-rw-r--r-- | Help/policy/CMP0139.rst | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Help/policy/CMP0139.rst b/Help/policy/CMP0139.rst new file mode 100644 index 0000000..5a0f4f7 --- /dev/null +++ b/Help/policy/CMP0139.rst @@ -0,0 +1,17 @@ +CMP0139 +------- + +.. versionadded:: 3.24 + +The :command:`if` command supports path comparisons using ``PATH_EQUAL`` +operator. + +The ``OLD`` behavior for this policy is to ignore the ``PATH_EQUAL`` operator. +The ``NEW`` behavior is to interpret the ``PATH_EQUAL`` operator. + +This policy was introduced in CMake version 3.24. +CMake version |release| warns when the policy is not set and uses +``OLD`` behavior. Use the :command:`cmake_policy` command to set +it to ``OLD`` or ``NEW`` explicitly. + +.. include:: DEPRECATED.txt |