CPack + productbuild + install_name_tool: no LC_RPATH load command with path
When i try to package an app under macOS with productbuild I get the following error with CPack 3.15.4: "error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/install_name_tool: no LC_RPATH load command with path: /opt/Qt/5.11.3/clang_64/lib found in" "(for architecture x86_64), required for specified option "-delete_rpath /opt/Qt/5.11.3/clang_64/lib""
The path "/opt/Qt/5.11.3/clang_64/lib" exist
I already tried Xcode 10.3 and Xcode 11.2.1