diff options
author | John Ericson <John.Ericson@Obsidian.Systems> | 2022-07-26 07:29:11 +0000 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2022-07-26 07:35:12 +0000 |
commit | ae72cc72d7064fe0a71d41e0660a1cb6147de46a (patch) | |
tree | 6069f4c477d3bee3ac62d98bdcf98c7a1f452d0f /cmake | |
parent | 05a948e67dbb3a6c6e294a36a9015d3565c59fdb (diff) | |
download | llvm-ae72cc72d7064fe0a71d41e0660a1cb6147de46a.zip llvm-ae72cc72d7064fe0a71d41e0660a1cb6147de46a.tar.gz llvm-ae72cc72d7064fe0a71d41e0660a1cb6147de46a.tar.bz2 |
[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.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/Modules/FindPrefixFromConfig.cmake b/cmake/Modules/FindPrefixFromConfig.cmake index c583a65..22211e4b 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 |