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
Gepetto
example-robot-data
Commits
056292cf
Commit
056292cf
authored
Sep 19, 2019
by
Guilhem Saurel
Browse files
[CMake] INSTALL_DATA → NOT INSTALL_PYTHON_INTERFACE_ONLY
to comply with other packages
parent
6b982306
Changes
1
Show whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
056292cf
...
...
@@ -26,8 +26,8 @@ ENDIF()
SETUP_PROJECT
()
OPTION
(
INSTALL_DATA
"Install the data"
ON
)
OPTION
(
BUILD_PYTHON_INTERFACE
"Build the python unit tests and helpers"
ON
)
OPTION
(
INSTALL_PYTHON_INTERFACE_ONLY
"Install *ONLY* the python interface"
OFF
)
IF
(
BUILD_PYTHON_INTERFACE
)
ADD_REQUIRED_DEPENDENCY
(
"pinocchio >= 2.1.0"
)
...
...
@@ -37,12 +37,12 @@ IF(BUILD_PYTHON_INTERFACE)
ADD_SUBDIRECTORY
(
unittest
)
ENDIF
(
BUILD_PYTHON_INTERFACE
)
IF
(
INSTALL_
DATA
)
IF
(
NOT
INSTALL_
PYTHON_INTERFACE_ONLY
)
INSTALL
(
DIRECTORY hyq_description DESTINATION share/
${
PROJECT_NAME
}
)
INSTALL
(
DIRECTORY solo_description DESTINATION share/
${
PROJECT_NAME
}
)
INSTALL
(
DIRECTORY icub_description DESTINATION share/
${
PROJECT_NAME
}
)
INSTALL
(
DIRECTORY talos_data DESTINATION share/
${
PROJECT_NAME
}
)
INSTALL
(
DIRECTORY tiago_description DESTINATION share/
${
PROJECT_NAME
}
)
ENDIF
(
INSTALL_
DATA
)
ENDIF
(
NOT
INSTALL_
PYTHON_INTERFACE_ONLY
)
SETUP_PROJECT_FINALIZE
()
Write
Preview
Supports
Markdown
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