#MESSAGE( "External project - Eigen" )

SET( Eigen_DEPENDENCIES )

ExternalProject_Add( 
  Eigen
  URL http://bitbucket.org/eigen/eigen/get/3.3.4.tar.bz2
  SOURCE_DIR Eigen-source
  UPDATE_COMMAND ""
  PATCH_COMMAND ""
  CONFIGURE_COMMAND ""
  BUILD_COMMAND ""
  INSTALL_COMMAND ""
)

SET( EIGEN_INCLUDE_DIR ${CMAKE_BINARY_DIR}/Eigen-source CACHE STRING "Eigen Include Dir" )
SET( $ENV{EIGEN_INCLUDE_DIR} "${CMAKE_BINARY_DIR}/Eigen-source" )