summaryrefslogtreecommitdiffstats
path: root/Help/policy/CMP0081.rst
blob: d3b2872c445a947a26c10731e90b57c5852ebbf9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
CMP0081
-------

Relative paths not allowed in :prop_tgt:`LINK_DIRECTORIES` target property.

CMake 3.12 and lower allowed the :prop_dir:`LINK_DIRECTORIES` directory
property to contain relative paths.  The base path for such relative
entries is not well defined.  CMake 3.13 and later will issue a
``FATAL_ERROR`` if the :prop_tgt:`LINK_DIRECTORIES` target property
(which is initialized by the :prop_dir:`LINK_DIRECTORIES` directory property)
contains a relative path.

The ``OLD`` behavior for this policy is not to warn about relative paths
in the :prop_tgt:`LINK_DIRECTORIES` target property.  The ``NEW`` behavior for
this policy is to issue a ``FATAL_ERROR`` if :prop_tgt:`LINK_DIRECTORIES`
contains a relative path.

This policy was introduced in CMake version 3.13.  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
03:38 (GMT)'>2020-06-301-1/+1 | * Merge tag 'v3.8.4rc1' into 3.8Łukasz Langa2020-06-3067-129/+648 |\ | | | | | | Python 3.8.4rc1 | * Python 3.8.4rc1v3.8.4rc1Łukasz Langa2020-06-2967-129/+648 | | * | Update FAQ release schedule and estimated users (GH-21180)Miss Islington (bot)2020-06-301-4/+4 | | | | | | | | | | | | | | | | Update FAQ to include: * The new yearly release schedule from PEP 602 * Estimated users from "tens of thousands" to "millions" (cherry picked from commit 3fa4799c3f9d9de7cac30e5db3627e9e125b9ce5) Co-authored-by: E-Paine <63801254+E-Paine@users.noreply.github.com> * | bpo-41123: Remove PyUnicode_AsUnicodeCopy in 3.10 (GH-21227)Miss Islington (bot)2020-06-301-0/+2 | | | | | | | | | | (cherry picked from commit 2ea6a9928e4fa135888cc8f4733c28d93e642301) Co-authored-by: Inada Naoki <songofacandy@gmail.com> * | bpo-41152: IDLE: always use UTF-8 for standard IO streams (GH-21214)Miss Islington (bot)2020-06-305-52/+10 |/ | | | | (cherry picked from commit 2515a28230b1a011205f30263da6b01c6bd167a3) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> * bpo-41004: Resolve hash collisions for IPv4Interface and IPv6Interface ↵Miss Islington (bot)2020-06-293-2/+15 | | | | | | | | | | | (GH-21033) The __hash__() methods of classes IPv4Interface and IPv6Interface had issue of generating constant hash values of 32 and 128 respectively causing hash collisions. The fix uses the hash() function to generate hash values for the objects instead of XOR operation (cherry picked from commit b30ee26e366bf509b7538d79bfec6c6d38d53f28) Co-authored-by: Ravi Teja P <rvteja92@gmail.com> * bpo-41048: mimetypes should read the rule file using UTF-8, not the locale ↵Miss Islington (bot)2020-06-294-1/+16 | | | | | | | encoding (GH-20998) (cherry picked from commit 7f569c9bc0079906012b3034d30fe8abc742e7fc) Co-authored-by: Srinivas Reddy Thatiparthy (శ్రీనివాస్ రెడ్డి తాటిపర్తి) <thatiparthysreenivas@gmail.com> * Update ssl.rstMiss Islington (bot)2020-06-291-0/+3 | * bpo-41123: Doc: PyLong_FromUnicode will be removed in 3.10 (GH-21205)Miss Islington (bot)2020-06-291-1/+1 | | | | | (cherry picked from commit 02134dae448c7885c9c07adfc6970f878db33372) Co-authored-by: Inada Naoki <songofacandy@gmail.com> * [3.8] bpo-41138: Fix trace CLI for non-UTF-8 files. (GH-21177) (GH-21200)Serhiy Storchaka2020-06-283-16/+28 | | | | | Fix also a resource warning when store counts and module info. (cherry picked from commit 04cdeb7a5617c48102f45b965e683b12cdf934f8) * bpo-41144: Fix IDLE open module error (GH-21182)Miss Islington (bot)2020-06-284-7/+20 | | | | | | | | Could not open os.path. Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> (cherry picked from commit 8ab77c6f9fb6ef86af8f6b8722a2fcb37438edd0) Co-authored-by: E-Paine <63801254+E-Paine@users.noreply.github.com> * [3.8] bpo-35975: Only use cf_feature_version if PyCF_ONLY_AST in cf_flags ↵Guido van Rossum2020-06-285-3/+29 | | | | (#21023) * [3.8] bpo-41132: Use pymalloc allocator in the f-string parser (GH-21173) ↵Lysandros Nikolaou2020-06-271-7/+7 | | | | | (GH-21184) Automerge-Triggered-By: @pablogsal * bpo-41100: clarify NEWS item about macOS 11 support (GH-21174)Miss Islington (bot)2020-06-271-1/+7 | | | | | (cherry picked from commit 2f168c6356f92c38ae7751d2faf2b266a9356229) Co-authored-by: Ned Deily <nad@python.org> * BPO-41100: Support macOS 11 when building (GH-21113)Miss Islington (bot)2020-06-253-2/+3 | | | | | (cherry picked from commit 8ea6353f60625c96ce96588c70ff24a77f8c71f9) Co-authored-by: Ronald Oussoren <ronaldoussoren@mac.com> * [3.8] bpo-41009: fix requires_OS_version() class decorator (GH-20942) (GH-20948)Christian Heimes2020-06-252-19/+21 | | | | | | | | Signed-off-by: Christian Heimes <christian@python.org> Automerge-Triggered-By: @tiran. (cherry picked from commit bb6ec14479f18c32e71e43f2785f177aa17aabbd) Co-authored-by: Christian Heimes <christian@python.org> * bpo-41113: Fix test_warnings on non-Western locales. (GH-21143)Miss Islington (bot)2020-06-251-3/+3 | | | | | (cherry picked from commit 0f8ec1fff01173803645ad6a8aea24997bf66fc1) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> * bpo-40204: Pin Sphinx version to 2.3.1 in ``Doc/Makefile``. (GH-21141) ↵Ned Deily2020-06-252-1/+2 | | | | (GH-21147) * bpo-35773: Fix test_bdb on non-UTF-8 locales. (GH-21136)Miss Islington (bot)2020-06-251-1/+1 | | | | | (cherry picked from commit 94eee69e9b3a7e7d33142a47ffea560beb8f1596) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> * bpo-39580: add check for CLI installation on macOS (GH-20271)Miss Islington (bot)2020-06-25