Skip to content

xsimd install with xtensor dependency results in a broken CMake target file #869

@amyspark

Description

@amyspark

👋

I've just been told at Krita that Debian (and Ubuntu by extension)'s packaging of xsimd does not work to build Krita. I see in the Debian source that they're using -DENABLE_XTL_COMPLEX=ON to enable the xtl dependency, but in the xsimd-targets.cmake file, I read

add_library(xsimd INTERFACE IMPORTED)

set_target_properties(xsimd PROPERTIES
  INTERFACE_COMPILE_FEATURES "cxx_std_14"
  INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include"
  INTERFACE_LINK_LIBRARIES "xtl"
)

with absolutely no reference to xtl-targets.cmake or the relevant find_package line.

I'm not sure if this is a xsimd or Debian packaging issue, but reporting it FYI.

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