mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-07-07 03:48:42 +03:00
Add NO_SYSTEM_ENVIRONMENT_PATH and example of linking with the object file; pr #67
This commit is contained in:
parent
56bdb2c2f3
commit
fc35f6069a
2 changed files with 17 additions and 7 deletions
|
@ -162,6 +162,8 @@ target_include_directories(mimalloc-obj PUBLIC
|
|||
$<INSTALL_INTERFACE:${mi_install_dir}/include>
|
||||
)
|
||||
|
||||
install(TARGETS mimalloc-obj EXPORT mimalloc DESTINATION ${mi_install_dir})
|
||||
|
||||
install(FILES $<TARGET_OBJECTS:mimalloc-obj>
|
||||
DESTINATION ${mi_install_dir}
|
||||
RENAME ${mi_basename}${CMAKE_C_OUTPUT_EXTENSION} )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue