Skip to content

Commit

Permalink
[cmake] Fix missing paren in FindPrefixFromConfig
Browse files Browse the repository at this point in the history
This was in CMake syntax generation, so we didn't catch it eval time.

Follow up from D117973
  • Loading branch information
Ericson2314 committed Jul 26, 2022
1 parent 05a948e commit ae72cc7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/Modules/FindPrefixFromConfig.cmake
Expand Up @@ -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
Expand Down

0 comments on commit ae72cc7

Please sign in to comment.