mimalloc
mimalloc copied to clipboard
"mimalloc-obj" is not in any export set
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
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?