This is the same as libcxxabi/libcxx do.
Details
Diff Detail
Event Timeline
| CMakeLists.txt | ||
|---|---|---|
| 363 | libcxx seems to be using a different condition: IS_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/test", should this be unified? | |
| CMakeLists.txt | ||
|---|---|---|
| 363 | Maybe, but there's more to it than that. libunwind's test/CMakeLists.txt will unconditionally try to do include(AddLLVM), which fails if LLVM_CMAKE_PATH isn't set. libcxx's test/CMakeLists.txt on the other hand will only try to do that if LIBCXX_INCLUDE_TESTS is defined, which it isn't by default. There's lots of the llvm/cmake handling that seems to be quite outdated in libunwind compared to libcxxabi/libcxx, but I'm not really volunteering to unify that... | |
libcxx seems to be using a different condition: IS_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/test", should this be unified?