This is a follow up of chaincodelabs/libmultiprocess#74 and addresses https://github.com/chaincodelabs/libmultiprocess/pull/74#pullrequestreview-1106150689:
The only downside of the current implementation is that new
install-libandinstall-bintargets do not export the underlying targets.Can confirm neither of the new install commands create
$PREFIX/cmake/Multiprocess/Multiprocess.cmakeand$PREFIX/lib/cmake/Multiprocess/Multiprocess-debug.cmakefiles.Probably should update
install()EXPORT Multiprocessarguments toEXPORT libmultiprocess-binandEXPORT libmultiprocess-libso the two installs can be independent. And maybe there is a way to get the newinstall-binandinstall-libcommands to actually export these targets.