openmp-soname

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

Gbp-Pq: Name openmp-soname.diff
This commit is contained in:
Ubuntu Developers 2022-07-16 17:45:34 +08:00 committed by Lu zhiping
parent 35d667e14d
commit 1009b1acb6
1 changed files with 2 additions and 1 deletions

View File

@ -341,7 +341,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