Inconsistent build and install directories if YARR is added as an external dependency to another project
YARR sets build output directory to ${CMAKE_BINARY_DIR}/lib
and ${CMAKE_BINARY_DIR}/bin
here, but installs from ${PROJECT_BINARY_DIR}/lib
and ${PROJECT_BINARY_DIR}/bin
here. In case YARR is no longer the top-level project, ${CMAKE_BINARY_DIR}
and ${PROJECT_BINARY_DIR}
differ, and installation can fail.