[flang-commits] [flang] 2f8e614 - [flang][cmake] Fix variable reference (${var} instead of var)
Andrzej Warzynski via flang-commits
flang-commits at lists.llvm.org
Tue Mar 23 09:06:30 PDT 2021
Author: Andrzej Warzynski
Date: 2021-03-23T16:06:19Z
New Revision: 2f8e614df8832abde3d123bed8b67f901b7b6966
URL: https://github.com/llvm/llvm-project/commit/2f8e614df8832abde3d123bed8b67f901b7b6966
DIFF: https://github.com/llvm/llvm-project/commit/2f8e614df8832abde3d123bed8b67f901b7b6966.diff
LOG: [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.
Added:
Modified:
flang/CMakeLists.txt
Removed:
################################################################################
diff --git a/flang/CMakeLists.txt b/flang/CMakeLists.txt
index 1318eafec7c3..812a794fe3e7 100644
--- a/flang/CMakeLists.txt
+++ b/flang/CMakeLists.txt
@@ -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
More information about the flang-commits
mailing list