mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-05-04 22:49:32 +03:00
Merge pull request #403 from ArcEarth/master
[CMake] Respect CMAKE_INSTALL_PREFIX at install time
This commit is contained in:
commit
a732b762cc
1 changed files with 2 additions and 2 deletions
|
@ -208,9 +208,9 @@ endif()
|
|||
# -----------------------------------------------------------------------------
|
||||
|
||||
if (MI_INSTALL_TOPLEVEL)
|
||||
set(mi_install_dir "${CMAKE_INSTALL_PREFIX}")
|
||||
set(mi_install_dir "")
|
||||
else()
|
||||
set(mi_install_dir "${CMAKE_INSTALL_PREFIX}/lib/mimalloc-${mi_version}")
|
||||
set(mi_install_dir "lib/mimalloc-${mi_version}")
|
||||
endif()
|
||||
|
||||
if(MI_SECURE)
|
||||
|
|
Loading…
Add table
Reference in a new issue