mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-03 05:59:00 +08:00
5 lines
176 B
Plaintext
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)
|