vcpkg/ports/mimalloc/usage

5 lines
176 B
Plaintext
Raw Normal View History

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