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
a76ed5a3
Commit
a76ed5a3
authored
6 years ago
by
asantamaria
Browse files
Options
Downloads
Patches
Plain Diff
FIX installation paths to match iri drivers standard
parent
214f26a6
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
+6
-4
6 additions, 4 deletions
src/CMakeLists.txt
with
8 additions
and
6 deletions
Findlidar_lite.cmake
+
2
−
2
View file @
a76ed5a3
#edit the following line to add the librarie's header files
FIND_PATH
(
lidar_lite_INCLUDE_DIR lidar_lite.h /usr/include/iri/lidar_lite /usr/local/include/iri/lidar_lite
)
FIND_PATH
(
lidar_lite_INCLUDE_DIR lidar_lite.h /usr/include/iri
drivers
/lidar_lite /usr/local/include/iri
drivers
/lidar_lite
)
FIND_LIBRARY
(
lidar_lite_LIBRARY
NAMES lidar_lite
PATHS /usr/lib /usr/lib/iri
/lidar_lite
/usr/local/lib /usr/local/lib/iri
/lidar_lite
)
PATHS /usr/lib /usr/lib/iri
drivers
/usr/local/lib /usr/local/lib/iri
drivers
)
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
+
6
−
4
View file @
a76ed5a3
...
...
@@ -37,11 +37,13 @@ else()
endif
()
# install
INSTALL
(
TARGETS lidar_lite
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib/iri/
${
PROJECT_NAME
}
ARCHIVE DESTINATION lib/iri/
${
PROJECT_NAME
}
)
INSTALL
(
FILES
${
headers
}
DESTINATION include/iri/
${
PROJECT_NAME
}
)
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib/iridrivers
ARCHIVE DESTINATION lib/iridrivers
)
INSTALL
(
FILES
${
headers
}
DESTINATION include/iridrivers/
${
PROJECT_NAME
}
)
INSTALL
(
FILES ../Findlidar_lite.cmake DESTINATION
${
CMAKE_ROOT
}
/Modules/
)
INSTALL
(
FILES ../99-lidar_lite.rules DESTINATION /etc/udev/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