浏览代码

Merge topic 'fix_superbuild_dependency'

  BUG: Fix regular expression used to determine the link_type in creation of CTK_EXTERNAL_LIBRARIES
Jean-Christophe Fillion-Robin 14 年之前
父节点
当前提交
13a5eb0ef0
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Utilities/LastConfigureStep/CMakeLists.txt

+ 1 - 1
Utilities/LastConfigureStep/CMakeLists.txt

@@ -58,7 +58,7 @@ SET(CTK_EXTERNAL_LIBRARIES)
 # target dependency which are neither CTK or static library
 SET(link_type)
 FOREACH(ctk_target_dependency ${ctk_target_dependencies})
-  STRING(REGEX MATCH "(general|optimized|debug)" is_link_type ${ctk_target_dependency})
+  STRING(REGEX MATCH "^(general|optimized|debug)$" is_link_type ${ctk_target_dependency})
   IF(is_link_type)
     SET(link_type ${ctk_target_dependency})
   ELSE()