Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
gnss
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
gnss
Commits
3f7de559
Commit
3f7de559
authored
6 years ago
by
Joaquim Casals Buñuel
Browse files
Options
Downloads
Patches
Plain Diff
Renamed _INCLUDE_DIR -> _INCLUDE_DIRS & _LIBRARY -> _LIBRARIES
parent
904356ac
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
cmake_modules/wolfgnssConfig.cmake
+15
-15
15 additions, 15 deletions
cmake_modules/wolfgnssConfig.cmake
with
15 additions
and
15 deletions
cmake_modules/wolfgnssConfig.cmake
+
15
−
15
View file @
3f7de559
#edit the following line to add the librarie's header files
FIND_PATH
(
wolfgnss_INCLUDE_DIR
wolfgnss_INCLUDE_DIR
S
NAMES gnss.found
PATHS /usr/local/include/iri-algorithms/wolf/plugin_gnss
)
IF
(
wolfgnss_INCLUDE_DIR
)
MESSAGE
(
"Found gnss include dirs:
${
wolfgnss_INCLUDE_DIR
}
"
)
ELSE
(
wolfgnss_INCLUDE_DIR
)
IF
(
wolfgnss_INCLUDE_DIR
S
)
MESSAGE
(
"Found gnss include dirs:
${
wolfgnss_INCLUDE_DIR
S
}
"
)
ELSE
(
wolfgnss_INCLUDE_DIR
S
)
MESSAGE
(
"Couldn't find gnss include dirs"
)
ENDIF
(
wolfgnss_INCLUDE_DIR
)
ENDIF
(
wolfgnss_INCLUDE_DIR
S
)
FIND_LIBRARY
(
wolfgnss_LIBRAR
Y
wolfgnss_LIBRAR
IES
NAMES libwolfgnss.so
PATHS /usr/local/lib/iri-algorithms
)
IF
(
wolfgnss_LIBRAR
Y
)
MESSAGE
(
"Found gnss lib:
${
wolfgnss_LIBRAR
Y
}
"
)
ELSE
(
wolfgnss_LIBRAR
Y
)
IF
(
wolfgnss_LIBRAR
IES
)
MESSAGE
(
"Found gnss lib:
${
wolfgnss_LIBRAR
IES
}
"
)
ELSE
(
wolfgnss_LIBRAR
IES
)
MESSAGE
(
"Couldn't find wolf gnss lib"
)
ENDIF
(
wolfgnss_LIBRAR
Y
)
ENDIF
(
wolfgnss_LIBRAR
IES
)
IF
(
wolfgnss_INCLUDE_DIR AND wolfgnss_LIBRAR
Y
)
IF
(
wolfgnss_INCLUDE_DIR
S
AND wolfgnss_LIBRAR
IES
)
SET
(
wolfgnss_FOUND TRUE
)
ELSE
(
wolfgnss_INCLUDE_DIR AND wolfgnss_LIBRAR
Y
)
ELSE
(
wolfgnss_INCLUDE_DIR
S
AND wolfgnss_LIBRAR
IES
)
set
(
wolfgnss_FOUND FALSE
)
ENDIF
(
wolfgnss_INCLUDE_DIR AND wolfgnss_LIBRAR
Y
)
ENDIF
(
wolfgnss_INCLUDE_DIR
S
AND wolfgnss_LIBRAR
IES
)
IF
(
wolfgnss_FOUND
)
IF
(
NOT wolfgnss_FIND_QUIETLY
)
MESSAGE
(
STATUS
"Found gnss:
${
wolfgnss_LIBRAR
Y
}
"
)
MESSAGE
(
STATUS
"Found gnss:
${
wolfgnss_LIBRAR
IES
}
"
)
ENDIF
(
NOT wolfgnss_FIND_QUIETLY
)
ELSE
(
wolfgnss_FOUND
)
IF
(
wolfgnss_FIND_REQUIRED
)
...
...
@@ -38,7 +38,7 @@ ENDIF (wolfgnss_FOUND)
macro
(
wolf_report_not_found REASON_MSG
)
set
(
wolfgnss_FOUND FALSE
)
unset
(
wolfgnss_INCLUDE_DIR
)
unset
(
wolfgnss_INCLUDE_DIR
S
)
unset
(
wolfgnss_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