Skip to content

Commit f6f34e2

Browse files
authored
Remove hard dependence on ruby (#1323)
The dep will get pulled in by gz-tools Signed-off-by: Michael Carroll <[email protected]>
1 parent fc3d1ff commit f6f34e2

File tree

2 files changed

+1
-12
lines changed

2 files changed

+1
-12
lines changed

.github/ci/packages.apt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,3 @@ python3-gz-math7
1212
python3-psutil
1313
python3-pybind11
1414
python3-pytest
15-
ruby-dev

CMakeLists.txt

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -110,15 +110,6 @@ if (BUILD_SDF)
110110
gz_build_warning("Python psutil package not found. Memory leak tests will be skipped")
111111
endif()
112112

113-
################################################
114-
# Find ruby executable to produce xml schemas
115-
find_program(RUBY ruby)
116-
if (NOT RUBY)
117-
gz_build_error ("Ruby version 1.9 is needed to build xml schemas")
118-
else()
119-
message(STATUS "Found ruby executable: ${RUBY}")
120-
endif()
121-
122113
########################################
123114
# Find gz math
124115
# Set a variable for generating ProjectConfig.cmake
@@ -133,8 +124,7 @@ if (BUILD_SDF)
133124
########################################
134125
# Python interfaces
135126
if (NOT PYTHON3_FOUND)
136-
GZ_BUILD_WARNING("Python is missing: Python interfaces are disabled.")
137-
message (STATUS "Searching for Python - not found.")
127+
GZ_BUILD_ERROR("Python is missing - Needed to build/embed xml schemas")
138128
else()
139129
message (STATUS "Searching for Python - found version ${Python3_VERSION}.")
140130

0 commit comments

Comments
 (0)