Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
wolf
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
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
mobile_robotics
wolf_projects
wolf_lib
wolf
Commits
0614e737
Commit
0614e737
authored
6 years ago
by
Joaquim Casals Buñuel
Browse files
Options
Downloads
Patches
Plain Diff
Renamed _INCLUDE_DIR -> _INCLUDE_DIRS & _LIBRARY -> _LIBRARIES
parent
bf7b8ba2
No related branches found
No related tags found
1 merge request
!281
WIP: Resolve "autoconf: add state definition and dimension to yaml"
Pipeline
#3577
passed
6 years ago
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
cmake_modules/wolfConfig.cmake
+15
-15
15 additions, 15 deletions
cmake_modules/wolfConfig.cmake
with
15 additions
and
15 deletions
cmake_modules/wolfConfig.cmake
+
15
−
15
View file @
0614e737
#edit the following line to add the librarie's header files
FIND_PATH
(
wolf_INCLUDE_DIR
wolf_INCLUDE_DIR
S
NAMES wolf.found
PATHS /usr/local/include/iri-algorithms/wolf/plugin_core
)
IF
(
wolf_INCLUDE_DIR
)
MESSAGE
(
"Found wolf include dirs:
${
wolf_INCLUDE_DIR
}
"
)
ELSE
(
wolf_INCLUDE_DIR
)
IF
(
wolf_INCLUDE_DIR
S
)
MESSAGE
(
"Found wolf include dirs:
${
wolf_INCLUDE_DIR
S
}
"
)
ELSE
(
wolf_INCLUDE_DIR
S
)
MESSAGE
(
"Couldn't find wolf include dirs"
)
ENDIF
(
wolf_INCLUDE_DIR
)
ENDIF
(
wolf_INCLUDE_DIR
S
)
FIND_LIBRARY
(
wolf_LIBRAR
Y
wolf_LIBRAR
IES
NAMES libwolf.so libwolf.dylib
PATHS /usr/local/lib/iri-algorithms
)
IF
(
wolf_LIBRAR
Y
)
MESSAGE
(
"Found wolf lib:
${
wolf_LIBRAR
Y
}
"
)
ELSE
(
wolf_LIBRAR
Y
)
IF
(
wolf_LIBRAR
IES
)
MESSAGE
(
"Found wolf lib:
${
wolf_LIBRAR
IES
}
"
)
ELSE
(
wolf_LIBRAR
IES
)
MESSAGE
(
"Couldn't find wolf lib"
)
ENDIF
(
wolf_LIBRAR
Y
)
ENDIF
(
wolf_LIBRAR
IES
)
IF
(
wolf_INCLUDE_DIR AND wolf_LIBRAR
Y
)
IF
(
wolf_INCLUDE_DIR
S
AND wolf_LIBRAR
IES
)
SET
(
wolf_FOUND TRUE
)
ELSE
(
wolf_INCLUDE_DIR AND wolf_LIBRAR
Y
)
ELSE
(
wolf_INCLUDE_DIR
S
AND wolf_LIBRAR
IES
)
set
(
wolf_FOUND FALSE
)
ENDIF
(
wolf_INCLUDE_DIR AND wolf_LIBRAR
Y
)
ENDIF
(
wolf_INCLUDE_DIR
S
AND wolf_LIBRAR
IES
)
IF
(
wolf_FOUND
)
IF
(
NOT wolf_FIND_QUIETLY
)
MESSAGE
(
STATUS
"Found wolf:
${
wolf_LIBRAR
Y
}
"
)
MESSAGE
(
STATUS
"Found wolf:
${
wolf_LIBRAR
IES
}
"
)
ENDIF
(
NOT wolf_FIND_QUIETLY
)
ELSE
(
wolf_FOUND
)
IF
(
wolf_FIND_REQUIRED
)
...
...
@@ -38,7 +38,7 @@ ENDIF (wolf_FOUND)
macro
(
wolf_report_not_found REASON_MSG
)
set
(
wolf_FOUND FALSE
)
unset
(
wolf_INCLUDE_DIR
)
unset
(
wolf_INCLUDE_DIR
S
)
unset
(
wolf_LIBRARIES
)
# Reset the CMake module path to its state when this script was called.
...
...
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