Skip to content
This repository was archived by the owner on Nov 9, 2022. It is now read-only.

Commit 69134ea

Browse files
committed
publically expose the rosjava environment setup (for genjava).
1 parent d7ec3f9 commit 69134ea

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cmake/rosjava.cmake.em

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ endmacro()
4343
# CATKIN_ENV won't have any configuration, so we need some incoming here.
4444
# Note that we check for the variable existence as well so we don't
4545
# override a user setting.
46-
macro(_rosjava_env)
46+
macro(catkin_rosjava_env_setup)
4747
set(ROS_GRADLE_VERBOSE $ENV{ROS_GRADLE_VERBOSE})
4848
set(ROS_MAVEN_DEPLOYMENT_REPOSITORY $ENV{ROS_MAVEN_DEPLOYMENT_REPOSITORY})
4949
set(ROS_MAVEN_REPOSITORY $ENV{ROS_MAVEN_REPOSITORY})
@@ -69,7 +69,7 @@ endmacro()
6969
# Calls the gradle wrapper to compile just the package
7070
# that it is called in with install and installApp targets.
7171
macro(catkin_rosjava_setup)
72-
_rosjava_env()
72+
catkin_rosjava_env_setup()
7373
find_gradle()
7474
if( ${ARGC} EQUAL 0 )
7575
return() # Nothing to do (typically no subprojects created yet)
@@ -123,7 +123,7 @@ endmacro()
123123
# It checks the build type and determines whether it should run
124124
# assembleDebug or assembleRelease
125125
macro(catkin_android_setup)
126-
_rosjava_env()
126+
catkin_rosjava_env_setup()
127127
find_gradle()
128128
if( ${ARGC} EQUAL 0 )
129129
return() # Nothing to do (typically no subprojects created yet)

0 commit comments

Comments
 (0)