Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Guilhem Saurel
hpp-fcl
Commits
25232546
Commit
25232546
authored
Dec 18, 2019
by
Gabriele Buondonno
Browse files
Move eigenpy dependency to main CMakeLists file
parent
1e7dc5f0
Changes
2
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
25232546
...
...
@@ -70,6 +70,10 @@ PROJECT(${PROJECT_NAME} ${PROJECT_ARGS})
add_required_dependency
(
"eigen3 >= 3.0.0"
)
if
(
BUILD_PYTHON_INTERFACE
)
ADD_REQUIRED_DEPENDENCY
(
"eigenpy >= 1.2"
)
endif
()
# Add a cache variable to allow not compiling and running tests
set
(
RUN_TESTS TRUE CACHE BOOL
"compile and run unit tests"
)
...
...
python/CMakeLists.txt
View file @
25232546
...
...
@@ -32,8 +32,6 @@
# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE.
ADD_REQUIRED_DEPENDENCY
(
"eigenpy >= 1.2"
)
ADD_CUSTOM_TARGET
(
python
)
SET_TARGET_PROPERTIES
(
python PROPERTIES EXCLUDE_FROM_DEFAULT_BUILD True
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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