Skip to content

target_link_libraries not suport SUFFIX64 #5521

@Smilyf

Description

@Smilyf

Thank you for your work on this project.

I’ve encountered an issue where the CMake integration is inconsistent when OpenBLAS is compiled with the SUFFIX64=64 option. The generated config file does not apply the suffix to CMake targets and variables, which can cause conflicts.

Problem:
When building with SUFFIX64=64, the OpenBLASConfig.cmake file still exports a target named OpenBLAS::OpenBLAS and variables like OpenBLAS_LIBRARIES. This is inconsistent with the library filename and can be problematic if a project needs to link against both 32-bit and 64-bit interfaces simultaneously.

Thank you for your time and consideration.

Metadata

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