t-sakashita / rokko

Integrated Interface for libraries of eigenvalue decomposition
Boost Software License 1.0
10 stars 2 forks source link

Eigen3をCMakeで指定する方法 #604

Open t-sakashita opened 1 year ago

t-sakashita commented 1 year ago

テンプレートライブラリだから、インクルードしていた。

だが、ライブラリファイルとのリンクのように指定できるようだ。

target_link_libraries (example Eigen3::Eigen)

参考:https://eigen.tuxfamily.org/dox/TopicCMakeGuide.html