Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Humanoid Path Planner
hpp-core
Commits
1a7ed355
Commit
1a7ed355
authored
Jul 20, 2011
by
Florent Lamiraux
Committed by
Florent Lamiraux florent@laas.fr
Jul 20, 2011
Browse files
Fix CMakeLists.txt files
parent
8a2b5602
Changes
2
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
1a7ed355
...
...
@@ -53,7 +53,7 @@ IF(ENABLE_BODY)
)
ELSE
(
ENABLE_BODY
)
MESSAGE
(
STATUS
"using external implementation of hpp::model::Body"
)
ADD_REQUIRED_DEPENDENCY
(
"hpp-model >=
2.0
"
)
ADD_REQUIRED_DEPENDENCY
(
"hpp-model >=
1.8
"
)
ENDIF
(
ENABLE_BODY
)
# Declare Headers
...
...
src/CMakeLists.txt
View file @
1a7ed355
...
...
@@ -31,16 +31,12 @@ IF (ENABLE_BODY)
body.cc
)
INCLUDE_DIRECTORIES
(
BEFORE
${
CMAKE_SOURCE_DIR
}
/include/hpp-model
)
ADD_LIBRARY
(
${
LIBRARY_NAME
}
SHARED
${
LIBRARY_NAME
}
_SOURCES
)
SET
(
${
LIBRARY_NAME
}
_SOURCE_FILES
${${
LIBRARY_NAME
}
_SOURCE_FILES
}
body.cc
)
ELSE
(
${
ENABLE_BODY
}
STREQUAL YES
)
# Add hppModel compilation flags and link to library libhppModel.so
INCLUDE_DIRECTORIES
(
BEFORE
${
CMAKE_SOURCE_DIR
}
/include
)
ADD_DEFINITIONS
(
${
HPPMODEL_CFLAGS
}
)
ENDIF
()
ADD_LIBRARY
(
${
LIBRARY_NAME
}
SHARED
${${
LIBRARY_NAME
}
_SOURCES
}
)
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