[PATCH] D96484: [flang] Fix typo in FlangConfig.cmake.in.
Leandro Vaz via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 11 03:18:59 PST 2021
leandrov created this revision.
Herald added a subscriber: mgorny.
Herald added a reviewer: sscalpone.
leandrov requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
`find_package(Flang)` does not work as there is a missing `@` in the
FlangConfig.cmake.in file. This patch fixes the issue.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D96484
Files:
flang/cmake/modules/FlangConfig.cmake.in
Index: flang/cmake/modules/FlangConfig.cmake.in
===================================================================
--- flang/cmake/modules/FlangConfig.cmake.in
+++ flang/cmake/modules/FlangConfig.cmake.in
@@ -6,7 +6,7 @@
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D96484.322938.patch
Type: text/x-patch
Size: 523 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210211/3ff6516c/attachment.bin>
More information about the llvm-commits
mailing list