summaryrefslogtreecommitdiffstats
path: root/Source/cmGeneratorExpressionNode.cxx
diff options
context:
space:
mode:
authorKyle Edwards <kyle.edwards@kitware.com>2022-11-15 20:24:13 (GMT)
committerKyle Edwards <kyle.edwards@kitware.com>2022-11-17 14:31:27 (GMT)
commit38cbf5e15ba4720f873d49f60898535e95123a7e (patch)
tree9453bb03ee4c82e5c73987ace9c353d8f71f4dd6 /Source/cmGeneratorExpressionNode.cxx
parent37b5c78688aabbe179c7bf33409309d5b465a452 (diff)
downloadCMake-38cbf5e15ba4720f873d49f60898535e95123a7e.zip
CMake-38cbf5e15ba4720f873d49f60898535e95123a7e.tar.gz
CMake-38cbf5e15ba4720f873d49f60898535e95123a7e.tar.bz2
Genex: Add $<BUILD_LOCAL_INTERFACE:...> genex
Fixes: #23209
Diffstat (limited to 'Source/cmGeneratorExpressionNode.cxx')
-rw-r--r--Source/cmGeneratorExpressionNode.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmGeneratorExpressionNode.cxx b/Source/cmGeneratorExpressionNode.cxx
index 562c31e..60ea5ee 100644
--- a/Source/cmGeneratorExpressionNode.cxx
+++ b/Source/cmGeneratorExpressionNode.cxx
@@ -114,6 +114,8 @@ static const struct OneNode buildInterfaceNode;
static const struct ZeroNode installInterfaceNode;
+static const struct OneNode buildLocalInterfaceNode;
+
struct BooleanOpNode : public cmGeneratorExpressionNode
{
BooleanOpNode(const char* op_, const char* successVal_,
@@ -3320,6 +3322,7 @@ const cmGeneratorExpressionNode* cmGeneratorExpressionNode::GetNode(
{ "GENEX_EVAL", &genexEvalNode },
{ "BUILD_INTERFACE", &buildInterfaceNode },
{ "INSTALL_INTERFACE", &installInterfaceNode },
+ { "BUILD_LOCAL_INTERFACE", &buildLocalInterfaceNode },
{ "INSTALL_PREFIX", &installPrefixNode },
{ "JOIN", &joinNode },
{ "LINK_ONLY", &linkOnlyNode },