diff options
| author | Petr Hosek <phosek@chromium.org> | 2019-05-30 07:34:39 +0000 |
|---|---|---|
| committer | Petr Hosek <phosek@chromium.org> | 2019-05-30 07:34:39 +0000 |
| commit | 433a19168379cc87c7ea4ee8dbdca5b76f2e4b30 (patch) | |
| tree | ef37a56d02b56fe78e0549e80ba2f633031e58dc /libunwind | |
| parent | de234847e9dbc26d8b3377871fde3943c6fb309f (diff) | |
| download | bcm5719-llvm-433a19168379cc87c7ea4ee8dbdca5b76f2e4b30.tar.gz bcm5719-llvm-433a19168379cc87c7ea4ee8dbdca5b76f2e4b30.zip | |
[CMake] Use find_package(LLVM) instead of LLVMConfig
This addresses an issues introduced in r362047.
Differential Revision: https://reviews.llvm.org/D62640
llvm-svn: 362065
Diffstat (limited to 'libunwind')
| -rw-r--r-- | libunwind/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libunwind/CMakeLists.txt b/libunwind/CMakeLists.txt index 16bfb9a8202..b51922a48fe 100644 --- a/libunwind/CMakeLists.txt +++ b/libunwind/CMakeLists.txt @@ -15,7 +15,7 @@ set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ) -if (CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR) +if (CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR OR LIBUNWIND_STANDALONE_BUILD) project(libunwind) # Rely on llvm-config. |

