Add the install rules and exports the targets. Now one can write find_package(LAPACK 3.2.2) in another project to find either the LAPACK build tree or the install tree.
Add the install rules and exports the targets. Now one can write find_package(LAPACK 3.2.2) in another project to find either the LAPACK build tree or the install tree.