Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
LidarLite
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
labrobotica
drivers
LidarLite
Commits
b8f746db
Commit
b8f746db
authored
5 years ago
by
Alejandro Lopez Gestoso
Browse files
Options
Downloads
Patches
Plain Diff
Adapted to the new installation directories
parent
116d1b6f
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Findlidar_lite.cmake
+2
-2
2 additions, 2 deletions
Findlidar_lite.cmake
src/CMakeLists.txt
+3
-3
3 additions, 3 deletions
src/CMakeLists.txt
with
5 additions
and
5 deletions
Findlidar_lite.cmake
+
2
−
2
View file @
b8f746db
#edit the following line to add the librarie's header files
FIND_PATH
(
lidar_lite_INCLUDE_DIR lidar_lite.h exceptions.h lidar_lite_exceptions.h /usr/include/iri
drivers
/lidar_lite /usr/
local/
include/iri
drivers
/lidar_lite
)
FIND_PATH
(
lidar_lite_INCLUDE_DIR lidar_lite.h exceptions.h lidar_lite_exceptions.h /usr/
local/
include/iri/lidar_lite /usr/include/iri/lidar_lite
)
FIND_LIBRARY
(
lidar_lite_LIBRARY
NAMES lidar_lite
PATHS /usr/l
ib /usr
/lib/iri
drivers /usr/local/lib /usr/local/lib/iridrivers
)
PATHS /usr/l
ocal
/lib/iri
/lidar_lite /usr/lib/iri/lidar_lite
)
SET
(
lidar_lite_INCLUDE_DIRS
${
lidar_lite_INCLUDE_DIR
}
)
SET
(
lidar_lite_LIBRARIES
${
lidar_lite_LIBRARY
}
)
...
...
This diff is collapsed.
Click to expand it.
src/CMakeLists.txt
+
3
−
3
View file @
b8f746db
...
...
@@ -41,10 +41,10 @@ endif()
INSTALL
(
TARGETS lidar_lite
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib/iri
drivers
ARCHIVE DESTINATION lib/iri
drivers
LIBRARY DESTINATION lib/iri
/
${
PROJECT_NAME
}
ARCHIVE DESTINATION lib/iri
/
${
PROJECT_NAME
}
)
INSTALL
(
FILES
${
headers
}
DESTINATION include/iri
drivers
/
${
PROJECT_NAME
}
)
INSTALL
(
FILES
${
headers
}
DESTINATION include/iri/
${
PROJECT_NAME
}
)
INSTALL
(
FILES ../Findlidar_lite.cmake DESTINATION
${
CMAKE_ROOT
}
/Modules/
)
# Restart UDEV to account for new rules.d
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment