diff options
| author | Nikita Popov <npopov@redhat.com> | 2023-08-28 10:56:55 +0200 |
|---|---|---|
| committer | Nikita Popov <npopov@redhat.com> | 2023-08-28 10:58:19 +0200 |
| commit | 7ffc50708a80fdb1a2d913394b9de3892766c380 (patch) | |
| tree | a63775be61a6e18d54545dd4ce1c328f3769a338 /third-party | |
| parent | b454ecc84f988f4e59288d1d606605c8fd261686 (diff) | |
[cmake] Drop redundant libdir suffix during gtest installation
D158607 switched this code to use CMAKE_INSTALL_LIBDIR, but kept
the explicit LLVM_DIR_SUFFIX. However, CMAKE_INSTALL_LIBDIR already
contains the suffix, so we end up installing into a path like
lib6464.
Diffstat (limited to 'third-party')
| -rw-r--r-- | third-party/unittest/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/third-party/unittest/CMakeLists.txt b/third-party/unittest/CMakeLists.txt index 7cc8f68d33d4..bf6ef5455514 100644 --- a/third-party/unittest/CMakeLists.txt +++ b/third-party/unittest/CMakeLists.txt @@ -86,7 +86,7 @@ add_subdirectory(UnitTestMain) if (LLVM_INSTALL_GTEST) install(TARGETS llvm_gtest llvm_gtest_main LLVMTestingSupport LLVMTestingAnnotations - ARCHIVE DESTINATION "${CMAKE_INSTALL_LIBDIR}${LLVM_LIBDIR_SUFFIX}" COMPONENT llvm_gtest) + ARCHIVE DESTINATION "${CMAKE_INSTALL_LIBDIR}" COMPONENT llvm_gtest) install(DIRECTORY googletest/include/gtest/ DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/llvm-gtest/gtest/" COMPONENT llvm_gtest) install(DIRECTORY googlemock/include/gmock/ DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/llvm-gmock/gmock/" COMPONENT llvm_gtest) endif() |
