diff options
-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 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 |