build: vendor the Slamtec rplidar SDK in third_party
The repo is now self-contained: driver_rplidar compiles the SDK from third_party/rplidar_sdk (Linux sources only, teardown delete[] bug fixed in place), so a plain cmake configure needs no SDK path and no probing — the XLIDAR_RPLIDAR_SDK_DIR option and external references are gone. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -11,10 +11,6 @@ find_package(Threads REQUIRED)
|
||||
|
||||
option(XLIDAR_BUILD_EXAMPLES "Build example/demo binaries" ON)
|
||||
|
||||
# Where the rplidar plugin finds the Slamtec SDK sources (include/ + src/).
|
||||
# Empty + not auto-detected -> the rplidar plugin is skipped with a warning.
|
||||
set(XLIDAR_RPLIDAR_SDK_DIR "" CACHE PATH "Path to the Slamtec RPLIDAR SDK (dir containing include/ and src/)")
|
||||
|
||||
add_subdirectory(src)
|
||||
add_subdirectory(plugins)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user