Missing an RPC Find module
Suppose I want to build this program:
#include <stdio.h>
#include <rpc/rpc.h>
int main()
{
printf("Hello world\n");
struct sockaddr_in my_address;
get_myaddress(&my_address);
return 0;
}
This is not something very niche or exotic; remote procedure calls are a venerable concept, with implementations existing since the late 1980s; and an RPC library is available on any modern Unix/Linux OS distribution.
So, I expect to be able to be able to specify this dependency in my CMakeLists.txt . Yet... there is no relevant find module in the repository of find modules CMake bundles by default. And RPC libraries typically don't install their own find modules / CMake configuration scripts.
Please arrange it so that:
find_package(rpc REQUIRED)
works.
PS - Some of the RPC implementations use variants on the name, e.g. libtirpc
.