Date: | Tue, 05 Dec 2023 06:41:44 -0800 |
---|---|
From: | Tim Haines <noreply@xxxxxxxxxx> |
Subject: | [DynInst_API:] [dyninst/dyninst] e4156c: Set new CMake policy for upper-case <NAME>_ROOT va... |
Branch: refs/heads/thaines/cmake_cmp0144 Home: https://github.com/dyninst/dyninst Commit: e4156cbbf943fbfc4dd20063fadd21f355578d44 https://github.com/dyninst/dyninst/commit/e4156cbbf943fbfc4dd20063fadd21f355578d44 Author: Tim Haines <thaines.astro@xxxxxxxxx> Date: 2023-12-05 (Tue, 05 Dec 2023) Changed paths: M CMakeLists.txt Log Message: ----------- Set new CMake policy for upper-case <NAME>_ROOT variables In CMake 3.27 and above the find_package(<PackageName>) command now searches prefixes specified by the upper-case <PACKAGENAME>_ROOT CMake variable and the <PACKAGENAME>_ROOT environment variable in addition to the case-preserved <PackageName>_ROOT and <PackageName>_ROOT variables used since policy CMP0074. This policy provides compatibility with projects that have not been updated to avoid using <PACKAGENAME>_ROOT variables for other purposes. The OLD behavior for this policy is to ignore <PACKAGENAME>_ROOT variables if the original <PackageName> has lower-case characters. The NEW behavior for this policy is to use <PACKAGENAME>_ROOT variables. |
[← Prev in Thread] | Current Thread | [Next in Thread→] |
---|---|---|
|
Previous by Date: | [DynInst_API:] [dyninst/dyninst], Tim Haines |
---|---|
Next by Date: | [DynInst_API:] [dyninst/dyninst] ec2f69: Check policy first, Tim Haines |
Previous by Thread: | [DynInst_API:] [dyninst/dyninst] e38d57: fix x86_64 ret instruction formatting (#1457), kupsch |
Next by Thread: | [DynInst_API:] [dyninst/dyninst] e425d9: Create Capstone import script, Tim Haines |
Indexes: | [Date] [Thread] |