Unknown CMake command "rosidl_get_typesupport_target"
when I build galactic from source, ran into an issue like below:
Starting >>> demo_nodes_cpp_native
--- stderr: test_communication
CMake Error at CMakeLists.txt:122 (rosidl_get_typesupport_target):
Unknown CMake command "rosidl_get_typesupport_target".
Call Stack (most recent call first):
CMakeLists.txt:420 (custom_executable)
---
Failed <<< test_communication [2.97s, exited with code 1]
Aborted <<< demo_nodes_cpp_native [0.68s]
Appreciate anyone help to find the root cause. Thanks!
Rongcai