mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-05-03 22:19:32 +03:00
add INTERFACE_INCLUDE_DIRECTORIES to vckpcg wrapper
This commit is contained in:
parent
af602df758
commit
bd8cdc912c
2 changed files with 2 additions and 1 deletions
|
@ -9,7 +9,7 @@ to check out a specific commit, version, or branch of mimalloc, or set further o
|
|||
You can install such custom port as:
|
||||
|
||||
```sh
|
||||
$ vcpkg install mimalloc[override] --recurse --overlay-ports=./contrib/vcpkg
|
||||
$ vcpkg install "mimalloc[override]" --recurse --overlay-ports=./contrib/vcpkg
|
||||
```
|
||||
|
||||
This will also show the correct sha512 hash if you use a custom version.
|
||||
|
|
|
@ -17,4 +17,5 @@ endif()
|
|||
if(TARGET mimalloc-static AND NOT TARGET mimalloc)
|
||||
add_library(mimalloc INTERFACE IMPORTED)
|
||||
set_target_properties(mimalloc PROPERTIES INTERFACE_LINK_LIBRARIES mimalloc-static)
|
||||
set_target_properties(mimalloc PROPERTIES INTERFACE_INCLUDE_DIRECTORIES mimalloc-static)
|
||||
endif()
|
||||
|
|
Loading…
Add table
Reference in a new issue