Eigen building CMake Error INCLUDE_INSTALL_DIR must be relative to CMAKE_PREFIX_PATH.
Summary
Environment
- Operating System : Linux(Fedora 32)
- Architecture : x64
- Eigen Version : 3.3.9
- Compiler Version : x86_64-w64-mingw32
- Compile Flags : -O3 -march=native
- Vector Extension : SSE/AVX/NEON ...
Minimal Example
Hey there,
During the Eigen building in Fedora 32 I am having the following issue:
CMake Error at windows-x64-mingw/release/_deps/eigen-src/CMakeLists.txt:412 (message): INCLUDE_INSTALL_DIR must be relative to CMAKE_PREFIX_PATH. Got: /usr/x86_64-w64-mingw32/sys-root/mingw/include -- Configuring incomplete, errors occurred!
Steps to reproduce
- In Fedora 32 install mingw64-gcc-c++ package
- Using the Eigen sources from the 3.3 release tag
- Building Eigen step: mingw64-cmake -DCMAKE_BUILD_TYPE=Release ../..
What is the current bug behavior?
Eigen is not being built in Fedora 32 when using x86_64-w64-mingw32.
What is the expected correct behavior?
A building stage success.
Relevant logs
The following Error:
CMake Error at windows-x64-mingw/release/_deps/eigen-src/CMakeLists.txt:412 (message):
INCLUDE_INSTALL_DIR must be relative to CMAKE_PREFIX_PATH. Got:
/usr/x86_64-w64-mingw32/sys-root/mingw/include
-- Configuring incomplete, errors occurred!