1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-29 14:00:49 +03:00

Configuration - Library CSF directory separation #248

Refactor jemalloc CMake processing to handling in CMake scripts
This commit is contained in:
dpasukhi
2025-01-09 15:01:45 +00:00
parent 3d6c21124a
commit a7f679e70f
2 changed files with 1 additions and 6 deletions

View File

@@ -34,9 +34,8 @@ function (JEMALLOC_LIB_SEARCH MMGR_LIB PREFIX)
endif()
set (JEMALLOC_IS_STATIC_LIB ("${PREFIX}" STREQUAL "STATIC"))
if (${JEMALLOC_IS_STATIC_LIB})
get_filename_component(STATIC_LIB_NAME ${3RDPARTY_JEMALLOC_LIBRARY_${PREFIX}_${MMGR_LIB}} NAME)
set (OLD_CSF_MMGR ${CSF_MMGR})
list (APPEND OLD_CSF_MMGR "${STATIC_LIB_NAME}")
list (APPEND OLD_CSF_MMGR "${3RDPARTY_JEMALLOC_LIBRARY_${PREFIX}_${MMGR_LIB}}")
set (CSF_MMGR "${OLD_CSF_MMGR}" PARENT_SCOPE)
endif()
# install instructions