Closed tsdalton closed 7 months ago
Closing since this issue is in fact not resolved with newer versions of CMake, I was mistaken 😅. But the main linker error I referred to above is indeed a problem. I have opted to just switch to Ninja which seems to work fine.
This pull request amends the workaround fix made in https://github.com/abdes/cryptopp-cmake/pull/20. It seems that with CMake 28+ this is no longer an issue. I have not tested earlier versions of CMake but this comment https://github.com/abdes/cryptopp-cmake/issues/13#issuecomment-1231692123 reports seeing the issue with CMake version 3.23.1.
The reason for making this amendment is that the original workaround appears to prevent us from referring to
${TARGET_OBJECTS:cryptopp}
as below:The linker is unable to find the asm object file: