diff options
author | Jordan Rose <jordan_rose@apple.com> | 2015-09-10 17:55:02 +0000 |
---|---|---|
committer | Jordan Rose <jordan_rose@apple.com> | 2015-09-10 17:55:02 +0000 |
commit | 1aa8d7ccfb86e486e19974db11de5692a19e07fd (patch) | |
tree | 39deff065e8f35cce05e365acea0817318d190e5 /cmake | |
parent | 5d8f37f825cec858600981175c9f25303ad98bd5 (diff) |
[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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@247311 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/modules/AddLLVM.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/modules/AddLLVM.cmake b/cmake/modules/AddLLVM.cmake index fcf023becf5..924d672a22e 100644 --- a/cmake/modules/AddLLVM.cmake +++ b/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 ) |