Open wrxhardworking opened 3 days ago
I believe that the use of special characters in your installation directory, here c++pro, results in the cmake regexp error. Thus, try instead to use another directory name.
You can also if you wish, fix this issue in SalomeMacros.cmake
file and open a pull request that we will review and integrate.
Thanks
thank you i have solved.
Thanks for reporting about the issue. Internal tracker reference: bos #42420
A fix:
- STRING(REGEX REPLACE ${CMAKE_SOURCE_DIR} "" rel_dir ${CMAKE_CURRENT_SOURCE_DIR})
+ FILE(RELATIVE_PATH rel_dir ${CMAKE_SOURCE_DIR} ${CMAKE_CURRENT_SOURCE_DIR})
感谢您报告有关该问题的信息。内部跟踪器参考编号:bos #42420
A fix:
- STRING(REGEX REPLACE ${CMAKE_SOURCE_DIR} "" rel_dir ${CMAKE_CURRENT_SOURCE_DIR}) + FILE(RELATIVE_PATH rel_dir ${CMAKE_SOURCE_DIR} ${CMAKE_CURRENT_SOURCE_DIR})
yeah, it may be more friedly,thank you.
so should i modify the
SalomeMacros.cmake
?