Skip to content
Snippets Groups Projects
Commit 25232546 authored by Gabriele Buondonno's avatar Gabriele Buondonno
Browse files

Move eigenpy dependency to main CMakeLists file

parent 1e7dc5f0
No related branches found
No related tags found
No related merge requests found
...@@ -70,6 +70,10 @@ PROJECT(${PROJECT_NAME} ${PROJECT_ARGS}) ...@@ -70,6 +70,10 @@ PROJECT(${PROJECT_NAME} ${PROJECT_ARGS})
add_required_dependency("eigen3 >= 3.0.0") 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 # Add a cache variable to allow not compiling and running tests
set (RUN_TESTS TRUE CACHE BOOL "compile and run unit tests") set (RUN_TESTS TRUE CACHE BOOL "compile and run unit tests")
......
...@@ -32,8 +32,6 @@ ...@@ -32,8 +32,6 @@
# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE # ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE. # POSSIBILITY OF SUCH DAMAGE.
ADD_REQUIRED_DEPENDENCY("eigenpy >= 1.2")
ADD_CUSTOM_TARGET(python) ADD_CUSTOM_TARGET(python)
SET_TARGET_PROPERTIES(python PROPERTIES EXCLUDE_FROM_DEFAULT_BUILD True) SET_TARGET_PROPERTIES(python PROPERTIES EXCLUDE_FROM_DEFAULT_BUILD True)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment