diff --git a/SimoxUtility/CMakeLists.txt b/SimoxUtility/CMakeLists.txt index c55fe71a61f88b9023a5dc1e55be4e148719ffda..e08899ec3142885c5045d53a996262d2a69019a1 100644 --- a/SimoxUtility/CMakeLists.txt +++ b/SimoxUtility/CMakeLists.txt @@ -272,7 +272,7 @@ target_link_libraries(SimoxUtility PUBLIC stdc++fs) # Setup dependencies ####################################################################### #### Eigen -target_include_directories(SimoxUtility SYSTEM PUBLIC ${Eigen3_INCLUDE_DIR}) +target_link_libraries(SimoxUtility PUBLIC Eigen3::Eigen) #### BOOST target_link_libraries(SimoxUtility PUBLIC