From 85a22f8b6db75f004ab9a16e4e0361d0ae7fe07a Mon Sep 17 00:00:00 2001 From: Jordan Rose Date: Thu, 10 Sep 2015 17:55:02 +0000 Subject: [PATCH] [CMake] s/LLVM_SOURCE_DIR/LLVM_MAIN_SRC_DIR/ Fix-up for r247305 to use the right variable. There's another use of LLVM_SOURCE_DIR in this file that is probably also questionable, but it's for Windows so I'm going to leave it alone. llvm-svn: 247311 --- llvm/cmake/modules/AddLLVM.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/cmake/modules/AddLLVM.cmake b/llvm/cmake/modules/AddLLVM.cmake index fcf023becf50..924d672a22e0 100644 --- a/llvm/cmake/modules/AddLLVM.cmake +++ b/llvm/cmake/modules/AddLLVM.cmake @@ -593,7 +593,7 @@ macro(add_llvm_executable name) if(XCODE) # Note: the dummy.cpp source file provides no definitions. However, # it forces Xcode to properly link the static library. - list(APPEND ALL_FILES "${LLVM_SOURCE_DIR}/cmake/dummy.cpp") + list(APPEND ALL_FILES "${LLVM_MAIN_SRC_DIR}/cmake/dummy.cpp") endif() if( EXCLUDE_FROM_ALL )