Skip to content

Commit 6ca9823

Browse files
author
Juan Ignacio Ubeira
authored
Merge pull request rosjava#42 from ivanpauno/fix/find-gradle
Fixed problem to find gradlew when cross-compiling
2 parents d6261de + 5398a73 commit 6ca9823

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cmake/rosjava.cmake.em

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ macro(find_gradle)
1515
${CMAKE_CURRENT_SOURCE_DIR}/..
1616
${CMAKE_CURRENT_SOURCE_DIR}/../..
1717
NO_DEFAULT_PATH
18+
NO_CMAKE_FIND_ROOT_PATH
1819
)
1920
if(NOT ${PROJECT_NAME}_gradle_BINARY)
2021
message(FATAL_ERROR "Could not find the gradle wrapper in this directory or below.")

0 commit comments

Comments
 (0)