summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2022-07-26 07:29:11 +0000
committerJohn Ericson <John.Ericson@Obsidian.Systems>2022-07-26 07:35:12 +0000
commitae72cc72d7064fe0a71d41e0660a1cb6147de46a (patch)
tree6069f4c477d3bee3ac62d98bdcf98c7a1f452d0f /cmake
parent05a948e67dbb3a6c6e294a36a9015d3565c59fdb (diff)
downloadllvm-ae72cc72d7064fe0a71d41e0660a1cb6147de46a.tar.gz
[cmake] Fix missing paren in `FindPrefixFromConfig`
This was in CMake syntax generation, so we didn't catch it eval time. Follow up from D117973
Diffstat (limited to 'cmake')
-rw-r--r--cmake/Modules/FindPrefixFromConfig.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/Modules/FindPrefixFromConfig.cmake b/cmake/Modules/FindPrefixFromConfig.cmake
index c583a65e6738..22211e4b72f2 100644
--- a/cmake/Modules/FindPrefixFromConfig.cmake
+++ b/cmake/Modules/FindPrefixFromConfig.cmake
@@ -32,7 +32,7 @@ function(find_prefix_from_config out_var prefix_var path_to_leave)
# our way there relatively.
set(config_code
"# Installation prefix is fixed absolute path"
- "set(${prefix_var} \"${CMAKE_INSTALL_PREFIX}\"")
+ "set(${prefix_var} \"${CMAKE_INSTALL_PREFIX}\")")
else()
# `path_to_leave` is relative. Relative to what? The install prefix.
# We therefore go up enough parent directories to get back to the