diff options
author | Vignesh Balasubramanian <Vignesh.Balasubrmanian@amd.com> | 2021-09-13 10:17:44 +0530 |
---|---|---|
committer | Vignesh Balasubramanian <Vignesh.Balasubrmanian@amd.com> | 2021-09-13 10:25:50 +0530 |
commit | 939154125b336bb7807302ae22a9df91e4f2e69b (patch) | |
tree | 214f89d2490a57e84c33e94603de3ba71cae18fa /openmp/libompd | |
parent | 5a85f9b1d48c4367bf697adc0f62ed5c9378f0f3 (diff) | |
download | llvm-939154125b336bb7807302ae22a9df91e4f2e69b.zip llvm-939154125b336bb7807302ae22a9df91e4f2e69b.tar.gz llvm-939154125b336bb7807302ae22a9df91e4f2e69b.tar.bz2 |
[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
Diffstat (limited to 'openmp/libompd')
-rw-r--r-- | openmp/libompd/src/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openmp/libompd/src/CMakeLists.txt b/openmp/libompd/src/CMakeLists.txt index a835926..afd553a 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 ) |