Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixed regex replace syntax error #2110

Merged
merged 1 commit into from
Oct 17, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cmake/YarpIDL.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ function(_YARP_IDL_TO_DIR_GENERATE _family _file _name _index_file_name _output_
set(_dest_dir "${_cpp_placement_dir}")
set(_dest_file "${_gen_file}")
if(NOT _cpp_placement_ns)
string(REGEX REPLACE "^.+/([^\/]+)$" "\\1" _dest_file "${_dest_file}")
string(REGEX REPLACE "^.+/([^/]+)$" "\\1" _dest_file "${_dest_file}")
endif()
set(_dest_file "${_dest_dir}/${_dest_file}")
else()
Expand Down