diff options
author | Brad King <brad.king@kitware.com> | 2022-01-29 11:44:12 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2022-01-29 11:46:35 (GMT) |
commit | f6170c1322d290ae7115ca7b07b074c6ca374f91 (patch) | |
tree | 24b1f2cbae78ffe8b0f667c623bb9311d5829e14 | |
parent | 91de0ff599ded1aee72c3ff211ee0b5bea5bc8fc (diff) | |
download | CMake-f6170c1322d290ae7115ca7b07b074c6ca374f91.zip CMake-f6170c1322d290ae7115ca7b07b074c6ca374f91.tar.gz CMake-f6170c1322d290ae7115ca7b07b074c6ca374f91.tar.bz2 |
cmGeneratorExpressionDAGChecker: Re-order EvaluatingLinkLibraries condition
Place the modern properties first.
-rw-r--r-- | Source/cmGeneratorExpressionDAGChecker.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmGeneratorExpressionDAGChecker.cxx b/Source/cmGeneratorExpressionDAGChecker.cxx index a1fce55..187db73 100644 --- a/Source/cmGeneratorExpressionDAGChecker.cxx +++ b/Source/cmGeneratorExpressionDAGChecker.cxx @@ -188,11 +188,11 @@ bool cmGeneratorExpressionDAGChecker::EvaluatingLinkLibraries( return top->Target == tgt && prop == "LINK_LIBRARIES"_s; } - return prop == "LINK_LIBRARIES"_s || prop == "LINK_INTERFACE_LIBRARIES"_s || + return prop == "LINK_LIBRARIES"_s || prop == "INTERFACE_LINK_LIBRARIES"_s || + prop == "LINK_INTERFACE_LIBRARIES"_s || prop == "IMPORTED_LINK_INTERFACE_LIBRARIES"_s || cmHasLiteralPrefix(prop, "LINK_INTERFACE_LIBRARIES_") || - cmHasLiteralPrefix(prop, "IMPORTED_LINK_INTERFACE_LIBRARIES_") || - prop == "INTERFACE_LINK_LIBRARIES"_s; + cmHasLiteralPrefix(prop, "IMPORTED_LINK_INTERFACE_LIBRARIES_"); } cmGeneratorExpressionDAGChecker const* cmGeneratorExpressionDAGChecker::Top() |