fix(build): add Eigen3::Eigen alias for CMake target compatibility

This commit is contained in:
thysson2701
2026-07-21 14:24:00 +02:00
parent d8be383669
commit 5abd88de31

View File

@@ -10,3 +10,6 @@ target_include_directories(eigen SYSTEM
# Eigen is header-only, so we only need to specify the include directory
# The headers are in the Eigen/ subdirectory structure
# Alias so that targets linking Eigen3::Eigen also work
add_library(Eigen3::Eigen ALIAS eigen)