cmake-rn is making assumptions on the target LIBRARY_OUTPUT_DIRECTORY to locate the dynamic libraries to find them and assemble the prebuilds. We do pass CMAKE_LIBRARY_OUTPUT_DIRECTORY but this only serves as a default, which the individual target can override.
It seems the most reliable way to get the path of the binary would be to use the CMake file API.
cmake-rnis making assumptions on the targetLIBRARY_OUTPUT_DIRECTORYto locate the dynamic libraries to find them and assemble the prebuilds. We do passCMAKE_LIBRARY_OUTPUT_DIRECTORYbut this only serves as a default, which the individual target can override.It seems the most reliable way to get the path of the binary would be to use the CMake file API.