Skip to content
Commit 023e5440 authored by Orivej Desh's avatar Orivej Desh Committed by Orivej Desh (NixOS)
Browse files

eigen3_3: fix EIGEN3_INCLUDE_DIR location (#50628)

Eigen assumes that CMAKE_INSTALL_INCLUDEDIR is a path relative to
CMAKE_INSTALL_PREFIX (typically "include"), but CMake supports it being an
absolute path, which is the case in Nixpkgs. This resulted in EIGEN3_INCLUDE_DIR
being set to "/nix/store/…eigen…//nix/store/…eigen…/include/eigen3".

GNUInstallDirs_get_absolute_install_dir requires CMake 3.7.
parent d7ef9a71
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment