mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-02 01:49:07 +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)
|