From 1009b1acb6342830d63b5f94c5748a643dc24453 Mon Sep 17 00:00:00 2001 From: Ubuntu Developers Date: Sat, 16 Jul 2022 17:45:34 +0800 Subject: [PATCH] openmp-soname =================================================================== Gbp-Pq: Name openmp-soname.diff --- openmp/runtime/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/openmp/runtime/CMakeLists.txt b/openmp/runtime/CMakeLists.txt index 40a0fb9af..0b5887e86 100644 --- a/openmp/runtime/CMakeLists.txt +++ b/openmp/runtime/CMakeLists.txt @@ -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