[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
This commit is contained in:
Vignesh Balasubramanian 2021-09-13 10:17:44 +05:30
parent 5a85f9b1d4
commit 939154125b
1 changed files with 2 additions and 2 deletions

View File

@ -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 )