summaryrefslogtreecommitdiffstats
path: root/Source/cmPolicies.h
diff options
context:
space:
mode:
authorJannick <thirdedition@gmx.net>2019-11-07 00:13:27 (GMT)
committerBrad King <brad.king@kitware.com>2019-11-15 16:46:06 (GMT)
commitc5fb36a4cb8bd3272e2e0b54e3947886ad7eb778 (patch)
treed67a021cd11e8a7dba8c1cee1e252ffb0e429fc8 /Source/cmPolicies.h
parent5695b0464b411746b207da2ee23b8e2d9f8ffec2 (diff)
downloadCMake-c5fb36a4cb8bd3272e2e0b54e3947886ad7eb778.zip
CMake-c5fb36a4cb8bd3272e2e0b54e3947886ad7eb778.tar.gz
CMake-c5fb36a4cb8bd3272e2e0b54e3947886ad7eb778.tar.bz2
FindFLEX: Add policy CMP0098 to run flex in build tree
Diffstat (limited to 'Source/cmPolicies.h')
-rw-r--r--Source/cmPolicies.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/cmPolicies.h b/Source/cmPolicies.h
index 92c80bb..da32204 100644
--- a/Source/cmPolicies.h
+++ b/Source/cmPolicies.h
@@ -290,7 +290,10 @@ class cmMakefile;
SELECT(POLICY, CMP0097, \
"ExternalProject_Add with GIT_SUBMODULES \"\" initializes no " \
"submodules.", \
- 3, 16, 0, cmPolicies::WARN)
+ 3, 16, 0, cmPolicies::WARN) \
+ SELECT(POLICY, CMP0098, \
+ "FindFLEX runs flex in CMAKE_CURRENT_BINARY_DIR when executing.", 3, \
+ 17, 0, cmPolicies::WARN)
#define CM_SELECT_ID(F, A1, A2, A3, A4, A5, A6) F(A1)
#define CM_FOR_EACH_POLICY_ID(POLICY) \