Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
laser
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor 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
mobile_robotics
wolf_projects
wolf_lib
plugins
laser
Merge requests
!36
Resolve "Adapt to core CMakeLists.txt refactor"
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Resolve "Adapt to core CMakeLists.txt refactor"
23-adapt-to-core-cmakelists-txt-refactor
into
devel
Overview
0
Commits
15
Pipelines
0
Changes
8
Merged
Mederic Fourmy
requested to merge
23-adapt-to-core-cmakelists-txt-refactor
into
devel
3 years ago
Overview
0
Commits
15
Pipelines
0
Changes
8
Expand
Closes
#23 (closed)
Edited
3 years ago
by
Mederic Fourmy
0
0
Merge request reports
Compare
devel
version 8
fe181736
3 years ago
version 7
46c88a9b
3 years ago
version 6
68ee7177
3 years ago
version 5
a72805cf
3 years ago
version 4
720bca93
3 years ago
version 3
529a1508
3 years ago
version 2
1a0cc5e0
3 years ago
version 1
ec656ec0
3 years ago
devel (base)
and
latest version
latest version
68112cba
15 commits,
3 years ago
version 8
fe181736
14 commits,
3 years ago
version 7
46c88a9b
13 commits,
3 years ago
version 6
68ee7177
12 commits,
3 years ago
version 5
a72805cf
8 commits,
3 years ago
version 4
720bca93
7 commits,
3 years ago
version 3
529a1508
6 commits,
3 years ago
version 2
1a0cc5e0
5 commits,
3 years ago
version 1
ec656ec0
4 commits,
3 years ago
8 files
+
135
−
257
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
8
Search (e.g. *.vue) (Ctrl+P)
cmake_modules/Findcsm.cmake deleted
100755 → 0
+
0
−
64
Options
FIND_PATH
(
csm_INCLUDE_DIR
NAMES algos.h
PATHS /usr/local/include/csm
)
IF
(
csm_INCLUDE_DIR
)
MESSAGE
(
"Found csm include dirs:
${
csm_INCLUDE_DIR
}
"
)
ELSE
(
csm_INCLUDE_DIR
)
MESSAGE
(
"Couldn't find csm include dirs"
)
ENDIF
(
csm_INCLUDE_DIR
)
FIND_LIBRARY
(
csm_LIBRARY
NAMES libcsm.so libcsm.dylib
PATHS /usr/local/lib
)
IF
(
csm_LIBRARY
)
MESSAGE
(
"Found csm lib:
${
csm_LIBRARY
}
"
)
ELSE
(
csm_LIBRARY
)
MESSAGE
(
"Couldn't find csm lib"
)
ENDIF
(
csm_LIBRARY
)
IF
(
csm_INCLUDE_DIR AND csm_LIBRARY
)
SET
(
csm_FOUND TRUE
)
ELSE
(
csm_INCLUDE_DIR AND csm_LIBRARY
)
set
(
csm_FOUND FALSE
)
ENDIF
(
csm_INCLUDE_DIR AND csm_LIBRARY
)
IF
(
csm_FOUND
)
IF
(
NOT csm_FIND_QUIETLY
)
MESSAGE
(
STATUS
"Found csm:
${
csm_LIBRARY
}
"
)
ENDIF
(
NOT csm_FIND_QUIETLY
)
ELSE
(
csm_FOUND
)
IF
(
csm_FIND_REQUIRED
)
MESSAGE
(
FATAL_ERROR
"Could not find csm"
)
ENDIF
(
csm_FIND_REQUIRED
)
ENDIF
(
csm_FOUND
)
macro
(
csm_report_not_found REASON_MSG
)
set
(
csm_FOUND FALSE
)
unset
(
csm_INCLUDE_DIR
)
unset
(
csm_LIBRARIES
)
# Reset the CMake module path to its state when this script was called.
set
(
CMAKE_MODULE_PATH
${
CALLERS_CMAKE_MODULE_PATH
}
)
# Note <package>_FIND_[REQUIRED/QUIETLY] variables defined by
# FindPackage() use the camelcase library name, not uppercase.
if
(
csm_FIND_QUIETLY
)
message
(
STATUS
"Failed to find csm- "
${
REASON_MSG
}
${
ARGN
}
)
elseif
(
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
# that prevents generation, but continues configuration.
message
(
SEND_ERROR
"Failed to find csm - "
${
REASON_MSG
}
${
ARGN
}
)
endif
()
return
()
endmacro
(
csm_report_not_found
)
if
(
NOT csm_FOUND
)
csm_report_not_found
(
"Something went wrong while setting up csm."
)
endif
(
NOT csm_FOUND
)
# Set the include directories for csm (itself).
set
(
csm_FOUND TRUE
)
\ No newline at end of file
Loading