Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
labrobotica
drivers
segway_head
Commits
1ccf5487
Commit
1ccf5487
authored
Mar 05, 2019
by
Fernando Herrero
Browse files
Update find cmake. Fix project name
parent
9711929a
Changes
2
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
1ccf5487
...
...
@@ -8,7 +8,7 @@ if(COMMAND cmake_policy)
endif
(
COMMAND cmake_policy
)
# The project name and the type of project
PROJECT
(
segway
-
head
)
PROJECT
(
segway
_
head
)
SET
(
EXECUTABLE_OUTPUT_PATH
${
CMAKE_CURRENT_SOURCE_DIR
}
/bin
)
SET
(
LIBRARY_OUTPUT_PATH
${
CMAKE_CURRENT_SOURCE_DIR
}
/lib
)
...
...
Findsegway_head.cmake
View file @
1ccf5487
...
...
@@ -3,7 +3,7 @@ FIND_PATH(segway_head_INCLUDE_DIRS segway_head.h /usr/include/iri/segway_head /u
FIND_LIBRARY
(
segway_head_LIBRARIES
NAMES segway_head
PATHS /usr/lib /usr/local/lib /usr/local/lib/iri/segway_head
)
PATHS /usr/lib
/usr/lib/iri/segway_head
/usr/local/lib /usr/local/lib/iri/segway_head
)
SET
(
segway_head_INCLUDE_DIR
${
segway_head_INCLUDE_DIRS
}
)
SET
(
segway_head_LIBRARY
${
segway_head_LIBRARIES
}
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment