fix cmakelists: wrong assumption on CMAKE_SOURCE_DIR. One can now use

EIGEN_SOURCE_DIR for that use, guaranteed to point to eigen2/ directory.
This commit is contained in:
Benoit Jacob
2008-08-31 15:08:41 +00:00
parent 7e8aa63bb7
commit ff60c9ccb1
2 changed files with 3 additions and 1 deletions

View File

@@ -12,6 +12,8 @@ ELSE(EIGEN_SVN_REVISION)
SET(EIGEN_VERSION "${EIGEN_VERSION_NUMBER}")
ENDIF(EIGEN_SVN_REVISION)
SET(EIGEN_SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR})
CMAKE_MINIMUM_REQUIRED(VERSION 2.4)
set(CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake)