Reorganize CMake and minimize configuration for non-top-level builds.

This commit is contained in:
Antonio Sánchez
2024-05-01 17:42:53 +00:00
parent c1d637433e
commit 9700fc847a
4 changed files with 604 additions and 576 deletions

View File

@@ -110,6 +110,7 @@ foreach(target IN LISTS EIGEN_LAPACK_TARGETS)
if(EIGEN_STANDARD_LIBRARIES_TO_LINK_TO)
target_link_libraries(${target} ${EIGEN_STANDARD_LIBRARIES_TO_LINK_TO})
endif()
target_link_libraries(${target} Eigen3::Eigen)
add_dependencies(lapack ${target})
install(TARGETS ${target}
RUNTIME DESTINATION bin