mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-10-07 19:03:57 +00:00
[cmake] Fix missing paren in FindPrefixFromConfig
This was in CMake syntax generation, so we didn't catch it eval time. Follow up from D117973
This commit is contained in:
parent
05a948e67d
commit
ae72cc72d7
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user