10 lines
341 B
Plaintext
Raw Normal View History

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)