mirror of
https://github.com/apple/foundationdb.git
synced 2025-06-02 19:25:52 +08:00
add comment explaining the change
This commit is contained in:
parent
aae947ad0b
commit
9b2bab96f1
@ -21,6 +21,9 @@ if(JEMALLOC_INCLUDE_DIR AND JEMALLOC AND JEMALLOC_PIC)
|
||||
set_target_properties(im_jemalloc_pic PROPERTIES IMPORTED_LOCATION "${JEMALLOC_PIC}")
|
||||
set_target_properties(im_jemalloc PROPERTIES IMPORTED_LOCATION "${JEMALLOC}")
|
||||
target_include_directories(jemalloc INTERFACE "${JEMALLOC_INCLUDE_DIR}")
|
||||
# the ordering here is important: for dynamic libraries we have to use all
|
||||
# symbols that are in the library which was compiled with PIC (for executables
|
||||
# we could omit the pic-library)
|
||||
target_link_libraries(jemalloc INTERFACE im_jemalloc_pic im_jemalloc)
|
||||
else()
|
||||
include(ExternalProject)
|
||||
|
Loading…
x
Reference in New Issue
Block a user