diff options
author | John Ericson <John.Ericson@Obsidian.Systems> | 2022-08-25 11:13:46 -0400 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2022-08-25 11:13:46 -0400 |
commit | 34fe6ddce11e4e0e31a96669ab5f200e5fb8a747 (patch) | |
tree | 0fa4c894cd7c1719c4edee013eb812fbaa22033e /clang/cmake/modules | |
parent | f7bbe099c996aa38ceee701eea9bd81cfe6066e3 (diff) | |
download | llvm-34fe6ddce11e4e0e31a96669ab5f200e5fb8a747.zip llvm-34fe6ddce11e4e0e31a96669ab5f200e5fb8a747.tar.gz llvm-34fe6ddce11e4e0e31a96669ab5f200e5fb8a747.tar.bz2 |
Revert "[CMake] Avoid `LLVM_BINARY_DIR` when other more specific variable are better-suited"
This reverts commit ad8c34bc3089d847a09bb740f7a58c96073e0959.
Diffstat (limited to 'clang/cmake/modules')
-rw-r--r-- | clang/cmake/modules/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/cmake/modules/CMakeLists.txt b/clang/cmake/modules/CMakeLists.txt index 880d51f..6a7fa2f 100644 --- a/clang/cmake/modules/CMakeLists.txt +++ b/clang/cmake/modules/CMakeLists.txt @@ -15,7 +15,7 @@ set(clang_cmake_builddir "${CMAKE_BINARY_DIR}/lib${LLVM_LIBDIR_SUFFIX}/cmake/cla set(LLVM_INSTALL_PACKAGE_DIR "${CMAKE_INSTALL_PACKAGEDIR}/llvm" CACHE STRING "Path for CMake subdirectory for LLVM (defaults to '${CMAKE_INSTALL_PACKAGEDIR}/llvm')") # CMAKE_INSTALL_PACKAGEDIR might be absolute, so don't reuse below. -set(llvm_cmake_builddir "${LLVM_LIBRARY_DIR}/cmake/llvm") +set(llvm_cmake_builddir "${LLVM_BINARY_DIR}/lib${LLVM_LIBDIR_SUFFIX}/cmake/llvm") get_property(CLANG_EXPORTS GLOBAL PROPERTY CLANG_EXPORTS) export(TARGETS ${CLANG_EXPORTS} FILE ${clang_cmake_builddir}/ClangTargets.cmake) |