[flang-commits] [flang] 204360f - [flang] Fix typo in FlangConfig.cmake.in.
Thomas Preud'homme via flang-commits
flang-commits at lists.llvm.org
Thu Feb 11 10:09:47 PST 2021
Author: Leandro Vaz
Date: 2021-02-11T18:09:47Z
New Revision: 204360fd71d605d04cbe6e6efa3c2a898912c326
URL: https://github.com/llvm/llvm-project/commit/204360fd71d605d04cbe6e6efa3c2a898912c326
DIFF: https://github.com/llvm/llvm-project/commit/204360fd71d605d04cbe6e6efa3c2a898912c326.diff
LOG: [flang] Fix typo in FlangConfig.cmake.in.
`find_package(Flang)` does not work as there is a missing `@` in the
FlangConfig.cmake.in file. This patch fixes the issue.
Reviewed By: thopre
Differential Revision: https://reviews.llvm.org/D96484
Added:
Modified:
flang/cmake/modules/FlangConfig.cmake.in
Removed:
################################################################################
diff --git a/flang/cmake/modules/FlangConfig.cmake.in b/flang/cmake/modules/FlangConfig.cmake.in
index 3540e2df3406..5de85dc5ce6e 100644
--- a/flang/cmake/modules/FlangConfig.cmake.in
+++ b/flang/cmake/modules/FlangConfig.cmake.in
@@ -6,7 +6,7 @@ find_package(LLVM REQUIRED CONFIG
HINTS "@FLANG_CONFIG_LLVM_CMAKE_DIR@")
set(FLANG_EXPORTED_TARGETS "@FLANG_EXPORTS@")
-set(FLANG_CMAKE_DIR "FLANG_CONFIG_CMAKE_DIR@")
+set(FLANG_CMAKE_DIR "@FLANG_CONFIG_CMAKE_DIR@")
set(FLANG_INCLUDE_DIRS "@FLANG_CONFIG_INCLUDE_DIRS@")
# Provide all our library targets to users.
More information about the flang-commits
mailing list