mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-12 04:19:01 +08:00
488875e721
* [cminpack] Fix CMake config * Add usage
10 lines
341 B
Plaintext
10 lines
341 B
Plaintext
cminpack provides CMake targets:
|
|
|
|
find_package(CMinpack CONFIG REQUIRED)
|
|
target_link_libraries(main PRIVATE cminpack::cminpack)
|
|
|
|
# alternative for single precision
|
|
target_link_libraries(main PRIVATE cminpack::cminpacks)
|
|
# alternative for long double precision
|
|
target_link_libraries(main PRIVATE cminpack::cminpackld)
|