summaryrefslogtreecommitdiffstats
path: root/Source/cmPolicies.h
diff options
context:
space:
mode:
authorCraig Scott <craig.scott@crascit.com>2018-11-12 20:42:42 (GMT)
committerKitware Robot <kwrobot@kitware.com>2018-11-12 20:43:07 (GMT)
commitddb967cca1a37501dcf3fbd6f64c2d3be1c0c82b (patch)
treea94fe4644c936080d409225dd8cbd3bc56925f03 /Source/cmPolicies.h
parentc310480c5dc76ad0c1eb4e842869f92121d5b507 (diff)
parentc4b4d8b3a67718e29edb5676273e528dab566672 (diff)
downloadCMake-ddb967cca1a37501dcf3fbd6f64c2d3be1c0c82b.zip
CMake-ddb967cca1a37501dcf3fbd6f64c2d3be1c0c82b.tar.gz
CMake-ddb967cca1a37501dcf3fbd6f64c2d3be1c0c82b.tar.bz2
Merge topic 'pie-link-options'
c4b4d8b3a6 POSITION_INDEPENDENT_CODE: Manage link flags for executables 724a0346f7 POSITION_INDEPENDENT_CODE: Fix erroneous '-fPIE' flag for Sun Studio 023188ffb4 INTERFACE_POSITION_INDEPENDENT_CODE: add generator expressions support Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2465
Diffstat (limited to 'Source/cmPolicies.h')
-rw-r--r--Source/cmPolicies.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/Source/cmPolicies.h b/Source/cmPolicies.h
index 5c27124..52ef470 100644
--- a/Source/cmPolicies.h
+++ b/Source/cmPolicies.h
@@ -244,7 +244,9 @@ class cmMakefile;
SELECT(POLICY, CMP0082, \
"Install rules from add_subdirectory() are interleaved with those " \
"in caller.", \
- 3, 14, 0, cmPolicies::WARN)
+ 3, 14, 0, cmPolicies::WARN) \
+ SELECT(POLICY, CMP0083, "Add PIE options when linking executable.", 3, 14, \
+ 0, cmPolicies::WARN)
#define CM_SELECT_ID(F, A1, A2, A3, A4, A5, A6) F(A1)
#define CM_FOR_EACH_POLICY_ID(POLICY) \
@@ -271,7 +273,8 @@ class cmMakefile;
F(CMP0069) \
F(CMP0073) \
F(CMP0076) \
- F(CMP0081)
+ F(CMP0081) \
+ F(CMP0083)
/** \class cmPolicies
* \brief Handles changes in CMake behavior and policies