Skip to content

Build failure: INTERFACE_LIBRARY targets may only have whitelisted properties. #4284

@anagainaru

Description

@anagainaru

The build fails on my mac

CMake Error at source/adios2/CMakeLists.txt:490 (set_target_properties):
  INTERFACE_LIBRARY targets may only have whitelisted properties.  The
  property "VERSION" is not allowed.


CMake Error at source/adios2/CMakeLists.txt:490 (set_target_properties):
  INTERFACE_LIBRARY targets may only have whitelisted properties.  The
  property "SOVERSION" is not allowed.

due to these lines in source/adios2/CMakeLists.txt

set_target_properties(
  adios2_core ${maybe_adios2_core_mpi}
  PROPERTIES
  VERSION ${ADIOS2_LIBRARY_VERSION}
  SOVERSION ${ADIOS2_LIBRARY_SOVERSION}
)

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