vcpkg/ports/mimalloc/usage
2023-12-18 13:21:13 -08:00

5 lines
176 B
Plaintext

mimalloc provides CMake targets:
find_package(mimalloc CONFIG REQUIRED)
target_link_libraries(main PRIVATE $<IF:$<TARGET_EXISTS:mimalloc-static>,mimalloc-static,mimalloc)