Kai Pastor 488875e721
[cminpack] Fix exported config, add usage (#30141)
* [cminpack] Fix CMake config

* Add usage
2023-03-12 20:45:55 -07:00

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)