diff options
author | don <don@lyubov.(none)> | 2011-12-15 00:23:07 (GMT) |
---|---|---|
committer | don <don@lyubov.(none)> | 2011-12-15 00:23:07 (GMT) |
commit | 30e1747f5e605e04acef640c7e112d890fb65557 (patch) | |
tree | 1bdba10b65dff06f2e97ef1c80950a0f2ebcef12 | |
parent | 1f790437ea8992b996cac2e1399af9ae62291115 (diff) |
fix EIGEN2DIR cmake syntax
-rw-r--r-- | tests/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 5be321d..d79925a 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -132,12 +132,12 @@ endif() if (NOT EIGEN2_INCLUDE_DIR) find_path(EIGEN2_INCLUDE_DIR Eigen/Core - HINTS ENV EIGEN2DIR + HINTS $ENV{EIGEN2DIR} PATHS /opt/local/include/eigen2 /usr/include/eigen2) if (${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD") find_path(EIGEN2_INCLUDE_DIR Eigen/Core - HINTS ENV EIGEN2DIR + HINTS $ENV{EIGEN2DIR} PATHS /usr/local/include/eigen2 ) endif() if (NOT EIGEN2_INCLUDE_DIR) |