[PATCH] D50135: [libunwind] [CMake] Allow building standalone without any llvm-config available

Petr Hosek via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 2 13:23:12 PDT 2018


phosek added inline comments.


================
Comment at: CMakeLists.txt:363
 
-add_subdirectory(test)
+if (EXISTS ${LLVM_CMAKE_PATH})
+  add_subdirectory(test)
----------------
libcxx seems to be using a different condition: `IS_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/test"`, should this be unified?


Repository:
  rUNW libunwind

https://reviews.llvm.org/D50135





More information about the cfe-commits mailing list