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
Merge requests
!8
Cmake refactoring was merged to main, merge back to devel also
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Cmake refactoring was merged to main, merge back to devel also
main
into
devel
Overview
0
Commits
26
Pipelines
1
Changes
1
Merged
Mederic Fourmy
requested to merge
main
into
devel
3 years ago
Overview
0
Commits
26
Pipelines
1
Changes
1
Expand
0
0
Merge request reports
Viewing commit
493f0655
Prev
Next
Show latest version
1 file
+
9
−
8
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
493f0655
commented out some cmake debugging
· 493f0655
Joan Vallvé Navarro
authored
3 years ago
CMakeLists.txt
+
9
−
8
Options
@@ -55,18 +55,19 @@ pkg_check_modules(csm QUIET csm )
link_directories
(
${
csm_LIBRARY_DIRS
}
)
if
(
csm_FOUND
)
if
(
NOT csm_LIBRARY_DIRS
)
message
(
"csm_LIBRARY_DIRS is empty"
)
message
(
"csm_LIBRARY_DIRS is empty"
)
else
()
# keep only the files in a lib folder: by default the "." is in csm_LIBRARY_DIRS,
# which is not acceptable for target_link_directories
message
(
csm_LIBRARY_DIRS:
)
foreach
(
my_entry IN LISTS csm_LIBRARY_DIRS
)
message
(
"
csm_LIBRARY_DIRS has
${
my_entry
}
"
)
endforeach
()
#
message(
"
csm_LIBRARY_DIRS:
"
)
#
foreach (my_entry IN LISTS csm_LIBRARY_DIRS)
#
message("
${my_entry}")
#
endforeach()
list
(
FILTER csm_LIBRARY_DIRS INCLUDE REGEX
"lib"
)
foreach
(
my_entry IN LISTS csm_LIBRARY_DIRS
)
message
(
"csm_LIBRARY_DIRS has
${
my_entry
}
"
)
endforeach
()
# message("after filtering csm_LIBRARY_DIRS:")
# foreach (my_entry IN LISTS csm_LIBRARY_DIRS)
# message(" ${my_entry}")
# endforeach()
endif
()
endif
()
Loading