Files
CMake/Modules
Brad King 03454b0d0d FindProtobuf: Add missing link dependencies on threads
Protobuf headers have dependencies on threads.  On UNIX platforms this
requires linking to a threads library.  We've long done this in the
`Protobuf_LIBRARIES` result variable.  However, the imported targets
added by commit v3.9.0-rc1~81^2~2 (FindProtobuf: add targets,
2017-05-17) and commit v3.9.0-rc1~68^2 (FindProtobuf: Rename imported
targets to match upstream names, 2017-05-22) were missing a dependency
on threads.

Add the dependency to the imported targets, and to the variables
`Protobuf_LITE_LIBRARIES` and `Protobuf_PROTOC_LIBRARIES`.  While this
did not seem to matter in practice for a long time, protobuf 3.6 throws
exceptions in some cases when threads are missing.

Fixes: #18533
2018-10-31 10:24:01 -04:00
..
2018-10-03 15:32:46 -04:00
2018-01-04 06:52:01 +11:00
2018-01-04 06:52:01 +11:00
2018-02-16 09:47:17 -05:00
2018-02-16 09:47:17 -05:00
2018-02-16 09:47:17 -05:00
2018-02-16 09:47:17 -05:00
2018-05-11 09:28:44 -04:00
2017-11-03 10:25:05 -04:00
2017-11-03 10:25:05 -04:00
2018-05-31 09:35:53 +02:00
2018-04-03 09:38:41 -04:00
2017-11-03 10:25:05 -04:00
2017-11-03 10:25:05 -04:00
2018-01-04 06:52:01 +11:00
2018-10-03 15:32:46 -04:00
2017-11-03 10:25:05 -04:00

See the "Find Modules" section of the cmake-developer(7) manual page.

For more information about how to contribute modules to CMake, see this page:
https://gitlab.kitware.com/cmake/community/wikis/doc/cmake/dev/Module-Maintainers