mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-25 17:19:00 +08:00
85d7c82eef
* [cmake-user] Test FindLAPACK.cmake * Minor cleanup * Avoid release-only lib variable * Fix usage of external blas * Update to 3.11 * Add usage doc * Update versions
10 lines
281 B
Plaintext
10 lines
281 B
Plaintext
lapack-reference provides CMake targets:
|
|
|
|
find_package(lapack CONFIG REQUIRED)
|
|
target_link_libraries(main PRIVATE lapack)
|
|
|
|
lapack-reference is compatible with built-in CMake targets:
|
|
|
|
find_package(LAPACK REQUIRED)
|
|
target_link_libraries(main PRIVATE LAPACK::LAPACK)
|