microsoft / mimalloc

mimalloc is a compact general purpose allocator with excellent performance.
MIT License
10.45k stars 843 forks source link

CMake find_package: mimalloc-config.cmake points to a mimalloc.cmake file that does not exist #801

Open abbator opened 1 year ago

abbator commented 1 year ago

Despite the documentation recommending find_package, mimalloc currently can't be found via find_package because the mimalloc-config.cmake incorrectly points to a file at ${CMAKE_CURRENT_LIST_DIR}/mimalloc.cmake.

Having run a search over my hard drive, the mimalloc.cmake file does not exist.

krishvishal commented 10 months ago

How did you fix this?

abbator commented 10 months ago

I just built and linked against mimalloc the old fashioned way inside my CMake configuration