Skip to content

nc-config references libraries which do not exist #3039

Open
@kevinushey

Description

I tried building netcdf with:

cmake -B build -S .
cd build
cmake --build .

This produces a nc-config file that has:

libsprivate="-lHDF5::HDF5 -lhdf5::hdf5_hl -lm -lz -lzip -lzstd -lbz2 -lsz -lCURL::libcurl -lxml2"

I suspect those library paths, e.g. -lHDF5::HDF5, are just the raw CMake directives. Do those need to be expanded into "real" library paths before generating nc-config?

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions