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
Stack Of Tasks
eigenpy
Commits
9d5c46e9
Commit
9d5c46e9
authored
Jun 30, 2016
by
jcarpent
Browse files
[CMake] Clean dependancies section
parent
4d77c0ec
Changes
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
9d5c46e9
...
...
@@ -57,11 +57,16 @@ ENDIF(EIGEN_NUMPY_ALIGNED)
# --- DEPENDANCIES -----------------------------------
# ----------------------------------------------------
ADD_REQUIRED_DEPENDENCY
(
"eigen3 >= 3.0.5"
)
SET
(
BOOST_COMPONENTS python
)
SEARCH_FOR_BOOST
()
set
(
Python_ADDITIONAL_VERSIONS 2.7
)
FINDPYTHON
()
# Add Boost path to include directories.
INCLUDE_DIRECTORIES
(
${
Boost_INCLUDE_DIRS
}
)
FINDPYTHON
(
2.7 EXACT REQUIRED
)
INCLUDE_DIRECTORIES
(
${
PYTHON_INCLUDE_DIRS
}
)
FIND_NUMPY
()
INCLUDE_DIRECTORIES
(
${
NUMPY_INCLUDE_DIRS
}
)
# ----------------------------------------------------
# --- INCLUDE ----------------------------------------
...
...
@@ -99,9 +104,6 @@ ENDFOREACH(header)
# ----------------------------------------------------
# --- TARGETS ----------------------------------------
# ----------------------------------------------------
INCLUDE_DIRECTORIES
(
${
PYTHON_INCLUDE_DIRS
}
${
NUMPY_INCLUDE_DIRS
}
)
# Add Boost path to include directories.
INCLUDE_DIRECTORIES
(
${
Boost_INCLUDE_DIRS
}
)
SET
(
${
PROJECT_NAME
}
_SOURCES
src/exception.cpp
...
...
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