Bug #1468

Nemomath CMake fails if only Eigen3 is installed

Added by S. Wrede about 11 years ago. Updated about 11 years ago.

Status:ResolvedStart date:04/21/2013
Priority:NormalDue date:
Assignee:S. Wrede% Done:

100%

Category:-
Target version:NemoMath 0.4

Description

CMake aborts if Eigen2 is not installed due to the following line in CMakeLists:

# Checking for eigen2
# If eigen2 can't be found, we use eigen3 with eigen2 support
find_package(Eigen2 REQUIRED)

As the REQUIRED option stops processing with an error message if the package cannot be found, I would suppose that the conditional won't ever work.

Associated revisions

Revision 275
Added by S. Wrede about 11 years ago

stripped REQUIRED argument from Eigen2 check to allow Eigen3 checking, fixes #1468

History

#1 Updated by S. Wrede about 11 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Applied in changeset r275.

Also available in: Atom PDF