build exits with error: CMake Error at library/src/CMakeLists.txt:62 (add_library): The install of the rocfft target requires changing an RPATH from the build tree, but this is not supported with the Ninja generator unless on an ELF-based or XCOFF-based platform. The CMAKE_BUILD_WITH_INSTALL_RPATH variable may be set to avoid this relinking step.
How to reproduce
run 21.rocfft.sh
Adding -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON to the cmake cmdline seems to fix the issue.
Environment
What is the expected behavior
What actually happens
CMake Error at library/src/CMakeLists.txt:62 (add_library): The install of the rocfft target requires changing an RPATH from the build tree, but this is not supported with the Ninja generator unless on an ELF-based or XCOFF-based platform. The CMAKE_BUILD_WITH_INSTALL_RPATH variable may be set to avoid this relinking step.
How to reproduce
Adding
-DCMAKE_BUILD_WITH_INSTALL_RPATH=ON
to the cmake cmdline seems to fix the issue.