openmp-soname

===================================================================

Gbp-Pq: Name openmp-soname.diff
This commit is contained in:
LLVM Packaging Team 2022-06-27 14:58:47 +08:00 committed by Lu zhiping
parent 78705c7f46
commit 9321771774
1 changed files with 2 additions and 1 deletions

View File

@ -338,7 +338,8 @@ else()
set(LIBOMP_INSTALL_KIND ARCHIVE)
endif()
set(LIBOMP_LIB_FILE ${LIBOMP_LIB_NAME}${LIBOMP_LIBRARY_SUFFIX})
set(LIBOMP_LIB_FILE ${LIBOMP_LIB_NAME}${CMAKE_SHARED_LIBRARY_SUFFIX}.${LIBOMP_VERSION_MAJOR})
# Optional backwards compatibility aliases.
set(LIBOMP_INSTALL_ALIASES TRUE CACHE BOOL