Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't set `CPACK_RPM_MAIN_COMPONENT' for ASAN builds
Setting `CPACK_RPM_MAIN_COMPONENT` to any component causes the package name for that component to be automatically generated from `CPACK_PACKAGE_NAME` (ignoring the other work we've done to correct the name), which in particular causes the runtime packages for ASAN builds to not be generated with the ASAN suffix. In order to minimize the impact, I'm disabling this call only in the case that we're doing an ASAN build, I don't want to break any other spots where it is actually working correctly, but I think we should investigate removing this entirely.
- Loading branch information