One thing you could try is to make it an IMPORTED
target with the IMPORTED_LIBNAME
name to Rpcrt4
. That might work?
Barring that, doing find_library
and giving the full path might be suitable.
I’m not sure where the suffix stripping happens though…
Cc: @brad.king