[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
This commit is contained in:
Jordan Rose 2015-09-10 17:55:02 +00:00
parent 90db75ed24
commit 85a22f8b6d
1 changed files with 1 additions and 1 deletions

View File

@ -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 )