@@ -108,13 +108,13 @@ def main():
108
108
return 0
109
109
110
110
# Install taped test dependencies
111
- if args .install_taped_test_deps :
111
+ if on_linux () and args .install_taped_test_deps :
112
112
install_taped_test_deps (cfg )
113
113
print ('Installed dependencies for taped test, exiting...' )
114
114
return 0
115
115
116
116
# Check taped test requirements
117
- if args .build_taped_test and not args .with_pcl :
117
+ if on_linux () and args .build_taped_test and not args .with_pcl :
118
118
raise RuntimeError (
119
119
"Taped test requires PCL extension to be built: run this script with --with-pcl flag" )
120
120
@@ -154,8 +154,7 @@ def main():
154
154
f"-DRGL_BUILD_PCL_EXTENSION={ 'ON' if args .with_pcl else 'OFF' } " ,
155
155
f"-DRGL_BUILD_ROS2_EXTENSION={ 'ON' if args .with_ros2 else 'OFF' } " ,
156
156
f"-DRGL_BUILD_UDP_EXTENSION={ 'ON' if args .with_udp else 'OFF' } " ,
157
- f"-DRGL_BUILD_SNOW_EXTENSION={ 'ON' if args .with_snow else 'OFF' } " ,
158
- f"-DRGL_BUILD_TAPED_TESTS={ 'ON' if args .build_taped_test else 'OFF' } "
157
+ f"-DRGL_BUILD_SNOW_EXTENSION={ 'ON' if args .with_snow else 'OFF' } "
159
158
]
160
159
161
160
if on_linux ():
@@ -166,6 +165,8 @@ def main():
166
165
rpath = rpath .replace ("$ORIGIN" , "\\ $ORIGIN" ) # cmake should not treat this as variable
167
166
linker_rpath_flags .append (f"-Wl,-rpath={ rpath } " )
168
167
cmake_args .append (f"-DCMAKE_SHARED_LINKER_FLAGS=\" { ' ' .join (linker_rpath_flags )} \" " )
168
+ # Taped tests
169
+ cmake_args .append (f"-DRGL_BUILD_TAPED_TESTS={ 'ON' if args .build_taped_test else 'OFF' } " )
169
170
170
171
# Append user args, possibly overwriting
171
172
cmake_args .append (args .cmake )
0 commit comments