fix(build): add Eigen3::Eigen alias for CMake target compatibility
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user