Skip to content

Commit

Permalink
Force extension points to be executed in order
Browse files Browse the repository at this point in the history
Signed-off-by: Ivan Santiago Paunovic <ivanpauno@ekumenlabs.com>
  • Loading branch information
ivanpauno committed May 11, 2020
1 parent 5aae255 commit 1ad2ba0
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,15 @@
# See the License for the specific language governing permissions and
# limitations under the License.

if(NOT DEFINED _ROSIDL_GENERATOR_PY_GENERATE_INTERFACES)
set(_ROSIDL_GENERATOR_PY_GENERATE_INTERFACES TRUE)
else()
return()
endif()

# Make sure rosidl_generator_c_generate_interfaces.cmake extension point is executed first
include("${rosidl_generator_c_DIR}/rosidl_generator_c_generate_interfaces.cmake")

find_package(rmw REQUIRED)
find_package(rosidl_runtime_c REQUIRED)
find_package(rosidl_typesupport_c REQUIRED)
Expand Down

0 comments on commit 1ad2ba0

Please sign in to comment.