Commit 1ccf5487 authored by Fernando Herrero's avatar Fernando Herrero
Browse files

Update find cmake. Fix project name

parent 9711929a
......@@ -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)
......
......@@ -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})
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment