Correct comment in 5ac392ca403b1af854b2ed17105f0fe7a005c5cf
This commit is contained in:
parent
5ac392ca40
commit
e21dfb4c42
@ -1440,6 +1440,7 @@ macro(find_python_module_file
|
||||
|
||||
path_strip_trailing_slash(_python_root "${PYTHON_LIBPATH}")
|
||||
set(_python_base "${_python_root}/python${PYTHON_VERSION}")
|
||||
# This always moves up one level (even if there is a trailing slash).
|
||||
get_filename_component(_python_root "${_python_root}" DIRECTORY)
|
||||
path_ensure_trailing_slash(_python_root "${_python_root}")
|
||||
|
||||
@ -1459,8 +1460,6 @@ macro(find_python_module_file
|
||||
)
|
||||
if(${out_var_abs})
|
||||
set(_${out_var_abs}_DEPS "${_python_mod_file_deps_test}" CACHE STRING "")
|
||||
|
||||
# This always moves up one level (even if there is a trailing slash).
|
||||
string(LENGTH "${_python_root}" _python_root_len)
|
||||
string(SUBSTRING ${${out_var_abs}} ${_python_root_len} -1 ${out_var_rel})
|
||||
unset(_python_root_len)
|
||||
|
Loading…
x
Reference in New Issue
Block a user