Before this change, the variable PROTOBUF_LIBRARIES might get redundant
value for debug and optimized configurations, e.g.
'optimized;/usr/lib/libprotobuf.so;debug;/usr/lib/libprotobuf.so'
---
Modules/FindProtobuf.cmake | 39 +++
1 file changed, 19
Am Mittwoch, 10. Februar 2016, 10:36:31 schrieb Antonio Perez Barrero:
> Before this change, the variable PROTOBUF_LIBRARIES might get redundant
> value for debug and optimized configurations, e.g.
> 'optimized;/usr/lib/libprotobuf.so;debug;/usr/lib/libprotobuf.so'
> ---
>
On 02/10/2016 04:36 AM, Antonio Perez Barrero wrote:
> find_library(${name}_LIBRARY
[snip]
> + select_library_configurations(${name})
> + set(${name}_LIBRARY_DEBUG ${${name}_LIBRARY_DEBUG} PARENT_SCOPE)
> + set(${name}_LIBRARY ${${name}_LIBRARY} PARENT_SCOPE)
> + set(${name}_LIBRARIES