diff --git a/rcl/test/CMakeLists.txt b/rcl/test/CMakeLists.txt index 1931d0cb2..506dbf8d8 100644 --- a/rcl/test/CMakeLists.txt +++ b/rcl/test/CMakeLists.txt @@ -295,7 +295,7 @@ function(test_target_function) ) rcl_add_custom_gtest(test_namespace${target_suffix} - SRCS test_namespace.cpp + SRCS rcl/test_namespace.cpp ENV ${rmw_implementation_env_var} APPEND_LIBRARY_DIRS ${extra_lib_dirs} LIBRARIES ${PROJECT_NAME} diff --git a/rcl/test/test_namespace.cpp b/rcl/test/rcl/test_namespace.cpp similarity index 100% rename from rcl/test/test_namespace.cpp rename to rcl/test/rcl/test_namespace.cpp