llvm.org GIT mirror llvm / 7112182
CMake: Fix stand-alone clang builds since r353268 Summary: Handle the case where LLVM_MAIN_SRC_DIR is not set and also use LLVM_CMAKE_DIR for locating installed cmake files rather than LLVM_CMAKE_PATH. Reviewers: phosek, andrewrk, smeenai Reviewed By: phosek, andrewrk, smeenai Subscribers: mgorny, cfe-commits, llvm-commits Tags: #clang, #llvm Differential Revision: https://reviews.llvm.org/D58204 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@354417 91177308-0d34-0410-b5e6-96231b3b80d8 Tom Stellard 7 months ago
1 changed file(s) with 3 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
17171717 endfunction()
17181718
17191719 function(find_first_existing_vc_file path out_var)
1720 if(NOT EXISTS "${path}")
1721 return()
1722 endif()
17201723 if(EXISTS "${path}/.svn")
17211724 set(svn_files
17221725 "${path}/.svn/wc.db" # SVN 1.7