浏览代码

Fix determination of evaluating link libraries.

Added in commit 6fbe3ce4 (Exclude the LINK_LIBRARIES related properties
from INTERFACE evaluation., 2013-01-23)
Stephen Kelly 12 年之前
父节点
当前提交
4cf161a5e7
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      Source/cmGeneratorExpressionDAGChecker.cxx

+ 2 - 2
Source/cmGeneratorExpressionDAGChecker.cxx

@@ -148,8 +148,8 @@ bool cmGeneratorExpressionDAGChecker::EvaluatingLinkLibraries()
   return (strcmp(prop, "LINK_LIBRARIES") == 0
        || strcmp(prop, "LINK_INTERFACE_LIBRARIES") == 0
        || strcmp(prop, "IMPORTED_LINK_INTERFACE_LIBRARIES") == 0
-       || strncmp(prop, "LINK_INTERFACE_LIBRARIES_", 26) == 0
-       || strncmp(prop, "IMPORTED_LINK_INTERFACE_LIBRARIES_", 35) == 0);
+       || strncmp(prop, "LINK_INTERFACE_LIBRARIES_", 25) == 0
+       || strncmp(prop, "IMPORTED_LINK_INTERFACE_LIBRARIES_", 34) == 0);
 }
 
 //----------------------------------------------------------------------------