浏览代码

remove useless cleanup - config.cmake files are executed in their own context.

Walter Gray 9 年之前
父节点
当前提交
d13b3d0d96
共有 1 个文件被更改,包括 0 次插入4 次删除
  1. 0 4
      cmake/protobuf-config.cmake.in

+ 0 - 4
cmake/protobuf-config.cmake.in

@@ -21,7 +21,3 @@ get_filename_component(_PROTOBUF_IMPORT_PREFIX
 if(NOT DEFINED PROTOBUF_MODULE_COMPATIBLE OR "${PROTOBUF_MODULE_COMPATIBLE}")
   include("${_PROTOBUF_PACKAGE_PREFIX}/protobuf-module.cmake")
 endif()
-
-# Cleanup temporary variables.
-set(_PROTOBUF_PACKAGE_PREFIX)
-set(_PROTOBUF_IMPORT_PREFIX)