commit | 1b3e579d08f8a89593175e3b0c0f8128c54833bd | [log] [tgz] |
---|---|---|
author | Sebastian Neubauer <Sebastian.Neubauer@amd.com> | Wed Jan 11 18:42:00 2023 +0100 |
committer | Copybara-Service <copybara-worker@google.com> | Thu Jan 12 02:43:09 2023 -0800 |
tree | 9b9c6957dbec3d3c7e3013ec3cb2837e204e5824 | |
parent | 06591f5b9c848d8838fd7627a29ae4ddb936afaf [diff] |
[llvm/cmake] Replace CMAKE_SOURCE_DIR with PROJECT_SOURCE_DIR When adding llvm to a build with add_subdirectory, CMAKE_SOURCE_DIR refers to the source directory of the parent project. We want to use PROJECT_SOURCE_DIR instead. Differential Revision: https://reviews.llvm.org/D141521 GitOrigin-RevId: 71c837f6d7d74e44f156ac60a47b1198727ba90f