Skip to content

NetCDF is not relocatable #644

@jbigot

Description

@jbigot

Building PDI with cmake --install-prefix <path> or cmake -DCMAKE_INSTALL_PREFIX=<path> fails if <path> does not contain the lib and include directories.

This is because NetCDF is not relocatable and when installed in the staging area the netCDFConfig.cmake file contains absolute path for the final installation path and fails when these do not exist.

nc-config also contains absolute path.

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions