Summary
Treat Enzyme like a true cmake dependency
Rationale
CMake code for linking with Enzyme is complicated (thus error-prone) and duplicated across all dependent libraries. It would be better to define the build requirements in one place and let dependent libraries just use the target.
Description
- Update
FindEnzyme.cmake to be a true "find module"
- Update link code for library targets to use enzyme target instead of itemizing build requirements
Additional information
No response
Summary
Treat Enzyme like a true cmake dependency
Rationale
CMake code for linking with Enzyme is complicated (thus error-prone) and duplicated across all dependent libraries. It would be better to define the build requirements in one place and let dependent libraries just use the target.
Description
FindEnzyme.cmaketo be a true "find module"Additional information
No response