Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
laser_scan_utils
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
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
algorithms
laser_scan_utils
Commits
10cc95ce
Commit
10cc95ce
authored
5 years ago
by
Joaquim Casals Buñuel
Browse files
Options
Downloads
Patches
Plain Diff
Fixed CMake issues regarding CSM
parent
0d6a8e0f
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
cmake_modules/Findcsm.cmake
+2
-2
2 additions, 2 deletions
cmake_modules/Findcsm.cmake
src/CMakeLists.txt
+3
-1
3 additions, 1 deletion
src/CMakeLists.txt
with
5 additions
and
3 deletions
cmake_modules/Findcsm.cmake
+
2
−
2
View file @
10cc95ce
...
...
@@ -46,8 +46,8 @@ macro(csm_report_not_found REASON_MSG)
# Note <package>_FIND_[REQUIRED/QUIETLY] variables defined by
# FindPackage() use the camelcase library name, not uppercase.
if
(
csm_FIND_QUIETLY
)
message
(
STATUS
"
Failed to f
in
d
csm- "
${
REASON_MSG
}
${
ARGN
}
)
else
(
csm_FIND_REQUIRED
)
message
(
STATUS
"
Ignor
in
g
csm
dependency
- "
${
REASON_MSG
}
${
ARGN
}
)
else
if
(
csm_FIND_REQUIRED
)
message
(
FATAL_ERROR
"Failed to find csm - "
${
REASON_MSG
}
${
ARGN
}
)
else
()
# Neither QUIETLY nor REQUIRED, use SEND_ERROR which emits an error
...
...
This diff is collapsed.
Click to expand it.
src/CMakeLists.txt
+
3
−
1
View file @
10cc95ce
...
...
@@ -73,7 +73,9 @@ SET(SRCS
ENDIF
(
csm_FOUND
)
# create the shared library
ADD_LIBRARY
(
${
PROJECT_NAME
}
SHARED
${
SRCS
}
)
target_link_libraries
(
${
PROJECT_NAME
}
${
csm_LIBRARY
}
)
IF
(
csm_FOUND
)
target_link_libraries
(
${
PROJECT_NAME
}
${
csm_LIBRARY
}
)
ENDIF
(
csm_FOUND
)
#install library
INSTALL
(
TARGETS
${
PROJECT_NAME
}
...
...
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