Browse Source

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

Walter Gray 9 years ago
parent
commit
d13b3d0d96
1 changed files with 0 additions and 4 deletions
  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}")
 if(NOT DEFINED PROTOBUF_MODULE_COMPATIBLE OR "${PROTOBUF_MODULE_COMPATIBLE}")
   include("${_PROTOBUF_PACKAGE_PREFIX}/protobuf-module.cmake")
   include("${_PROTOBUF_PACKAGE_PREFIX}/protobuf-module.cmake")
 endif()
 endif()
-
-# Cleanup temporary variables.
-set(_PROTOBUF_PACKAGE_PREFIX)
-set(_PROTOBUF_IMPORT_PREFIX)