From 939154125b336bb7807302ae22a9df91e4f2e69b Mon Sep 17 00:00:00 2001 From: Vignesh Balasubramanian Date: Mon, 13 Sep 2021 10:17:44 +0530 Subject: [PATCH] [OpenMP] [OMPD] OPENMP_INSTALL_LIBDIR is set for the install dir OPENMP_INSTALL_LIBDIR is set to the installation path of shared and static libompd.This should avoid the mixing of 32 and 64 bit on same path in multi-lib set-up. Reviewed By: @mceier Differential Revision: https://reviews.llvm.org/D109352 --- openmp/libompd/src/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openmp/libompd/src/CMakeLists.txt b/openmp/libompd/src/CMakeLists.txt index a835926d200b..afd553a6d8fb 100644 --- a/openmp/libompd/src/CMakeLists.txt +++ b/openmp/libompd/src/CMakeLists.txt @@ -45,6 +45,6 @@ include_directories ( ) INSTALL( TARGETS ompd - LIBRARY DESTINATION lib - ARCHIVE DESTINATION lib/static + LIBRARY DESTINATION ${OPENMP_INSTALL_LIBDIR} + ARCHIVE DESTINATION ${OPENMP_INSTALL_LIBDIR} RUNTIME DESTINATION bin )