Open anthonyalayo opened 5 months ago
Hey there,
While debugging why I was encountering the issue https://github.com/microsoft/mimalloc/issues/838, I realized it was due to linking order.
I solved it by using mimalloc-obj, as recommended by your example: https://github.com/microsoft/mimalloc/blob/master/test/CMakeLists.txt#L30-L34
mimalloc-obj
However this results in the following error:
CMake Error: install(EXPORT "backend-targets" ...) includes target "backend" which requires target "mimalloc-obj" that is not in any export set.
I see that export support was commented out several years ago: https://github.com/microsoft/mimalloc/commit/cf8815854cb0eff64394ef324a2f693d15dab91a
Can we uncomment it out? Perhaps the issues before are all cleared up?
Hey there,
While debugging why I was encountering the issue https://github.com/microsoft/mimalloc/issues/838, I realized it was due to linking order.
I solved it by using
mimalloc-obj
, as recommended by your example: https://github.com/microsoft/mimalloc/blob/master/test/CMakeLists.txt#L30-L34However this results in the following error:
I see that export support was commented out several years ago: https://github.com/microsoft/mimalloc/commit/cf8815854cb0eff64394ef324a2f693d15dab91a
Can we uncomment it out? Perhaps the issues before are all cleared up?