mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-11 16:19:02 +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)
|