forked from OSchip/llvm-project
[flang][cmake] Fix variable reference (${var} instead of var)
This is used for out-of-tree Flang builds when FLANG_BUILD_NEW_DRIVER is set.
This commit is contained in:
parent
538bda0b80
commit
2f8e614df8
|
@ -57,7 +57,7 @@ if (CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR)
|
|||
CLANG_DIR_ABSOLUTE
|
||||
${CLANG_DIR}
|
||||
REALPATH
|
||||
CMAKE_CURRENT_SOURCE_DIR)
|
||||
${CMAKE_CURRENT_SOURCE_DIR})
|
||||
list(APPEND CMAKE_MODULE_PATH ${CLANG_DIR_ABSOLUTE})
|
||||
|
||||
# TODO: Remove when libclangDriver is lifted out of Clang
|
||||
|
|
Loading…
Reference in New Issue