浏览代码

Merge topic 'FindBoost'

eddbd62d FindBoost: pop policy stack before returning

Acked-by: Kitware Robot <[email protected]>
Merge-request: !1078
Craig Scott 8 年之前
父节点
当前提交
ab17dc6bef
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      Modules/FindBoost.cmake

+ 2 - 0
Modules/FindBoost.cmake

@@ -244,6 +244,8 @@ if (NOT Boost_NO_BOOST_CMAKE)
       message("Found Boost components:")
       message("   ${Boost_FIND_COMPONENTS}")
     endif()
+    # Restore project's policies
+    cmake_policy(POP)
     return()
   endif()
 endif()