add INTERFACE_INCLUDE_DIRECTORIES to vckpcg wrapper
This commit is contained in:
@@ -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:
|
You can install such custom port as:
|
||||||
|
|
||||||
```sh
|
```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.
|
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)
|
if(TARGET mimalloc-static AND NOT TARGET mimalloc)
|
||||||
add_library(mimalloc INTERFACE IMPORTED)
|
add_library(mimalloc INTERFACE IMPORTED)
|
||||||
set_target_properties(mimalloc PROPERTIES INTERFACE_LINK_LIBRARIES mimalloc-static)
|
set_target_properties(mimalloc PROPERTIES INTERFACE_LINK_LIBRARIES mimalloc-static)
|
||||||
|
set_target_properties(mimalloc PROPERTIES INTERFACE_INCLUDE_DIRECTORIES mimalloc-static)
|
||||||
endif()
|
endif()
|
||||||
|
|||||||
Reference in New Issue
Block a user