mirror of
https://github.com/ThrowTheSwitch/Unity.git
synced 2026-01-23 00:15:58 +01:00
This is a fix from the change I made in `commit 418c1635f2f1bcd353b6fce23a16594c914047b8` where I added options to compile unity with the `fixture` and `memory` extensions: In that version, Unity had been able to build, but there were some issues when trying to install it. Namely, the CMake generator expressions were not evaluated correctly, and it would try to install with a path that had un-expanded generator commands in it, which would obviously fail and throw an error. I've got a feeling that this is a bug with CMake, but for now the workaround that worked in [this stackoverflow post](https://stackoverflow.com/questions/51541678/nested-cmake-generator-expressions-are-only-partially-evaluated) seemed to work here, as well. Another issue with that commit was that it tried to include a `unity_memory_internals.h` file, which did not exist. This has also been resolved.
6.5 KiB
6.5 KiB