浏览代码

CMake: Bugfix for protobuf_MODULE_COMPATIBLE

Removed excess endif()
Konstantin Podsvirov 9 年之前
父节点
当前提交
33d2b2a04f
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0 1
      cmake/protobuf-module.cmake.in

+ 0 - 1
cmake/protobuf-module.cmake.in

@@ -147,7 +147,6 @@ function(_protobuf_find_libraries name filename)
       LOCATION_RELEASE)
       LOCATION_RELEASE)
     get_target_property(${name}_LIBRARY_DEBUG protobuf::lib${filename}
     get_target_property(${name}_LIBRARY_DEBUG protobuf::lib${filename}
       LOCATION_DEBUG)
       LOCATION_DEBUG)
-    endif()
 
 
     select_library_configurations(${name})
     select_library_configurations(${name})
     set(${name}_LIBRARY ${${name}_LIBRARY} PARENT_SCOPE)
     set(${name}_LIBRARY ${${name}_LIBRARY} PARENT_SCOPE)