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
Stack Of Tasks
pinocchio
Commits
44b41a69
Verified
Commit
44b41a69
authored
Apr 17, 2020
by
Justin Carpentier
Browse files
cmake: fix .cpp include if URDF is missing
parent
70f7e7c1
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/CMakeLists.txt
View file @
44b41a69
...
...
@@ -7,10 +7,12 @@
# --- C++ --------------------------------------------
# ----------------------------------------------------
SET
(
${
PROJECT_NAME
}
_SOURCES
parsers/urdf/model.cpp
parsers/urdf/geometry.cpp
)
IF
(
BUILD_WITH_URDF_SUPPORT
)
SET
(
${
PROJECT_NAME
}
_SOURCES
parsers/urdf/model.cpp
parsers/urdf/geometry.cpp
)
ENDIF
()
# Extract the compile definitions of the project for export
GET_DIRECTORY_PROPERTY
(
CURRENT_COMPILE_DEFINITIONS COMPILE_DEFINITIONS
)
...
...
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