Skip to content

Commit

Permalink
[CMake] s/LLVM_SOURCE_DIR/LLVM_MAIN_SRC_DIR/
Browse files Browse the repository at this point in the history
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
  • Loading branch information
jrose-apple committed Sep 10, 2015
1 parent 5d8f37f commit 1aa8d7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/modules/AddLLVM.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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 )
Expand Down

0 comments on commit 1aa8d7c

Please sign in to comment.