File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -41,8 +41,8 @@ if(BUILD_TESTING)
4141 foreach (interface_file ${interface_files} )
4242 get_filename_component (interface_ns "${interface_file} " DIRECTORY )
4343 get_filename_component (interface_ns "${interface_ns} " NAME )
44- string_ends_with("${interface_file} " ".msg" is_message )
45- if (is_message AND interface_ns STREQUAL "msg" )
44+ string_ends_with("${interface_file} " ".idl" is_idl )
45+ if (is_idl AND interface_ns STREQUAL "msg" )
4646 list (APPEND message_files "${interface_file} " )
4747 continue ()
4848 endif ()
@@ -51,8 +51,7 @@ if(BUILD_TESTING)
5151 list (APPEND service_files "${interface_file} " )
5252 continue ()
5353 endif ()
54- string_ends_with("${interface_file} " ".idl" is_action)
55- if (is_action AND interface_ns STREQUAL "action" )
54+ if (is_idl AND interface_ns STREQUAL "action" )
5655 list (APPEND action_files "${interface_file} " )
5756 continue ()
5857 endif ()
You can’t perform that action at this time.
0 commit comments